네임 스페이스와 모듈이 얼마나 다른지 이해할 수 있습니까?모듈에 내 보낸 멤버가 없습니다. 'AWS'
AWS.d.ts
declare module AWS {
...
...
}
export = AWS
helper.d.ts
export declare namespace Helpers{
...
...
}
는 app.component.d.ts
import {Helpers} from 'mystartup_commons'; //<= works fine
import {AWS} from 'aws-sdk';
오류 :
ERROR in /Users/ishandutta2007/Documents/Projects/myproj/src/app/app.component.ts (1,9): Module '"/Users/is handutta2007/Documents/Projects/myproj/node_modules/aws-sdk/typings/AWS"' has no exported member 'AWS'.)