에 대한 것입니다. 최근 Rxjs 5를 사용하면 npm을 사용하여 Rxjs를 다운로드합니다. [email protected], 다운로드 한 코드에서 node_modules, Observable.d.ts를 Rxjs 폴더에서 찾았습니다. 생성자 아래와 같이 :이 키워드는 함수 매개 변수
*
* @constructor
* @param {Function} subscribe the function that is called when the Observable is
* initially subscribed to. This function is given a Subscriber, to which new values
* can be `next`ed, or an `error` method can be called to raise an error, or
* `complete` can be called to notify of a successful completion.
*/
constructor(subscribe?: <R>(this: Observable<T>, subscriber: Subscriber<R>) => TeardownLogic);
내 질문은 :? 가입의 기능 유형 선언이 키워드의 사용은 무엇인가 (이 관측 가능한, ...), 타이프 라이터 같은이 키워드 사용에 대한 몇 가지 문서를 가지고 있는가 이리? 고맙습니다.
감사합니다. 문서를 찾도록 도와주세요. – IcyBrk