나는 유형/크롬 @설치 tsconfig.app.json에 추가 한angular-cli 1.0.1 앱에서 chrome-app.d.ts 유형을 사용하는 방법은 무엇입니까?
"types": [
"chrome"
]
하지만 난 구성 요소에 chrome.app
를 사용하는 경우, 에러 보여
Property 'app' does not exist on type 'typeof chrome'
을 @ types/chrome 폴더에 chrome-app.d.ts가 포함되어 있습니다.은 내가 필요한 파일입니다. 이것을 어떻게 참조 할 수 있습니까?
이 typings 정의 모듈의 제작자 이후소스 https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome