문제

Is there a good way to write the javascript end of an ASP.Net IScriptControl (Microsoft Ajax) in Typescript?

The best I've found is https://github.com/chaholl/TypeScriptDefinitions/blob/master/MicrosoftAjax.d.ts - but that doesn't seem to be valid typescript (changes in the past year?) giving the warning warning 'declare' modifier required for top level element

도움이 되었습니까?

해결책

For the record, there's now a typescript definition at https://github.com/borisyankov/DefinitelyTyped/tree/master/microsoft-ajax

Later... The above link may now be dead, but a definition which appears to be by another author is available through @types/microsoft-ajax.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top