3 ms·
Those things are nice, but how would I work with third party libraries like Paper.js? I feel that the difficulties would outnumber the benefits in my case.
by jansan 9y ago
Those things are nice, but how would I work with third party libraries like Paper.js? I feel that the difficulties would outnumber the benefits in my case.
- nalllar 9y agoIf it's in typescript or has type definitions available you can convert those type definitions with ts2kt. Failing that, you can use the dynamic type. ts2kt - https://github.com/kotlin/ts2kt https://github.com/kotlin/ts2kt type definitions for many libraries - http://definitelytyped.org/ http://definitelytyped.org/ dynamic type - https://kotlinlang.org/docs/reference/dynamic-type.html https://kotlinlang.org/docs/reference/dynamic-type.html