@bikky/compiler 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,9 @@ type ConstructArguments<T> = T extends (new (...args: infer C) => any) ? C : nev
20
20
  type Prototype<T> = (Function & { prototype: T });
21
21
  type ObjectType<T> = T extends (new (...args: any[]) => infer C) ? C : never;
22
22
 
23
+ declare const _super: any;
24
+ declare const ERROR_INFO: string[];
25
+
23
26
  //Unfortunately Typescript doesn't currently support the following typing (as in the decorator's typing
24
27
  // information will not properly alter typescript's typing information):
25
28
  //First set of params are the ones supplied in the decorator, like: @mixin(common, extra1, extra2);
@@ -61,6 +64,6 @@ declare function makeMixer<
61
64
  ParentStatic extends ({[name: string]: any})>(core: Class<ParentObject> & ParentStatic) =>
62
65
  ((new (...args: ConstructorArgs) =>
63
66
  (ParentObject & Mixin)) & ClassStatic<ParentStatic> & ClassStatic<MixinClass>
64
- )
67
+ )
65
68
  );
66
69
 
@@ -23,7 +23,7 @@ var Crawler;
23
23
  function Crawl(start, callback) {
24
24
  let crawlArray = (array) => {
25
25
  for (let i = 0; i < array.length; i++) {
26
- array[i] = ts.visitEachChild(array[i], crawl, context);
26
+ array[i] = ts.visitNode(array[i], crawl);
27
27
  }
28
28
  array = array.flat(1);
29
29
  return array;
@@ -1,3 +1 @@
1
- import * as ts from "typescript";
2
- export default function (program: ts.Program, pluginOptions: {}): (context: ts.TransformationContext) => (sourceFile: ts.SourceFile) => ts.Node;
3
1
  //# sourceMappingURL=MacroTransformer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MacroTransformer.d.ts","sourceRoot":"","sources":["MacroTransformer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAySjC,MAAM,CAAC,OAAO,WAAW,OAAO,EAAE,EAAE,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,aAC7C,GAAG,qBAAqB,kBAEpB,GAAG,UAAU,aAYlC"}
1
+ {"version":3,"file":"MacroTransformer.d.ts","sourceRoot":"","sources":["MacroTransformer.ts"],"names":[],"mappings":""}