chore: add JSDocs

This commit is contained in:
Igor Randjelovic
2020-12-08 12:07:42 +01:00
parent d21776079f
commit de5f67f7c8
10 changed files with 131 additions and 0 deletions

View File

@@ -1,5 +1,10 @@
import ts from 'typescript';
/**
* A TypeScript transform that compiles classes marked with @NativeClass as es5 & commonjs
*
* @param ctx
*/
export default function (ctx: ts.TransformationContext) {
function isNativeClassExtension(node: ts.ClassDeclaration) {
return (