Skip to content

Instantly share code, notes, and snippets.

@marcj
Created August 11, 2024 15:10
Show Gist options
  • Save marcj/5f0bfd08d3a07d93dc841523b65c905f to your computer and use it in GitHub Desktop.
Save marcj/5f0bfd08d3a07d93dc841523b65c905f to your computer and use it in GitHub Desktop.
marc at mpro in /tmp/asdasd
$ git clone https://github.com/deepkit/deepkit-framework.git
Klone nach 'deepkit-framework'...
remote: Enumerating objects: 48921, done.
remote: Counting objects: 100% (11464/11464), done.
remote: Compressing objects: 100% (1611/1611), done.
remote: Total 48921 (delta 10264), reused 10529 (delta 9841), pack-reused 37457
Empfange Objekte: 100% (48921/48921), 68.22 MiB | 4.40 MiB/s, fertig.
Löse Unterschiede auf: 100% (39231/39231), fertig.

marc at mpro in /tmp/asdasd
$ cd deepkit-framework

marc at mpro in /tmp/asdasd/deepkit-framework (master)
$ yarn
➤ YN0088: A new stable version of Yarn is available: 4.4.0!
➤ YN0088: Upgrade now by running yarn set version 4.4.0

➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 244ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ @deepkit/core is listed by your project with version 1.0.1-alpha.147, which doesn't satisfy what deepkit-openapi (p22f32) and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ lerna is listed by your project with version 7.4.2, which doesn't satisfy what @commitlint/config-lerna-scopes (p863b7) requests (^5.0.0 || ^6.0.0).
➤ YN0060: │ typescript is listed by your project with version 5.3.3, which doesn't satisfy what typedoc (p4778c) requests (~4.6.0 || ~4.7.0 || ~4.8.0 || ~4.9.0).
➤ YN0060: │ typescript is listed by your project with version 5.4.5, which doesn't satisfy what typedoc (pb22d4) requests (~4.6.0 || ~4.7.0 || ~4.8.0 || ~4.9.0 || ~5.0.0).
➤ YN0002: │ @deepkit/type-angular@workspace:packages/type-angular doesn't provide @angular/common (p0e172), requested by @angular/forms.
➤ YN0002: │ @deepkit/type-angular@workspace:packages/type-angular doesn't provide @angular/platform-browser (pff51f), requested by @angular/forms.
➤ YN0002: │ @deepkit/type-angular@workspace:packages/type-angular doesn't provide zone.js (p713cf), requested by @angular/core.
➤ YN0002: │ @deepkit/type@workspace:packages/type [800b3] doesn't provide typescript (p21b35), requested by @deepkit/type-compiler.
➤ YN0002: │ @deepkit/type@workspace:packages/type [800b3] doesn't provide typescript (pbd587), requested by @typescript/vfs.
➤ YN0002: │ @deepkit/type@workspace:packages/type doesn't provide typescript (p1bad0), requested by @typescript/vfs.
➤ YN0002: │ @deepkit/type@workspace:packages/type doesn't provide typescript (p24aba), requested by @deepkit/type-compiler.
➤ YN0002: │ @deepkit/ui-library@workspace:packages/ui-library doesn't provide zone.js (p1c70c), requested by @angular/core.
➤ YN0002: │ @deepkit/vite@workspace:packages/vite doesn't provide typescript (p8cf33), requested by @deepkit/type-compiler.
➤ YN0002: │ website@workspace:website doesn't provide @types/node (pffd76), requested by ts-node.
➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 827ms
➤ YN0000: ┌ Link step
➤ YN0007: │ @deepkit/type-compiler@workspace:packages/type-compiler must be built because it never has been before or the last one failed
➤ YN0007: │ lefthook@npm:1.6.15 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.20.1 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.19.12 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.21.3 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.20.2 must be built because it never has been before or the last one failed
➤ YN0007: │ nice-napi@npm:1.0.2 must be built because it never has been before or the last one failed
➤ YN0007: │ msgpackr-extract@npm:3.0.2 must be built because it never has been before or the last one failed
➤ YN0007: │ better-sqlite3@npm:8.7.0 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.18.20 must be built because it never has been before or the last one failed
➤ YN0007: │ @parcel/watcher@npm:2.0.4 must be built because it never has been before or the last one failed
➤ YN0007: │ cpu-features@npm:0.0.10 must be built because it never has been before or the last one failed
➤ YN0007: │ @deepkit/bun@workspace:packages/bun must be built because it never has been before or the last one failed
➤ YN0007: │ @deepkit/vite@workspace:packages/vite must be built because it never has been before or the last one failed
➤ YN0007: │ lmdb@npm:3.0.8 must be built because it never has been before or the last one failed
➤ YN0007: │ nx@npm:16.10.0 [cc223] must be built because it never has been before or the last one failed
➤ YN0007: │ ssh2@npm:1.15.0 must be built because it never has been before or the last one failed
➤ YN0007: │ root@workspace:. must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 43s 452ms
➤ YN0000: · Done with warnings in 44s 726ms

marc at mpro in /tmp/asdasd/deepkit-framework (master)
$ npm run postinstall

> postinstall
> lefthook install && sh install-compiler.sh

sync hooks: ✔️ (pre-commit, commit-msg)
Deepkit Type: Injected TypeScript transformer at /private/tmp/asdasd/deepkit-framework/node_modules/typescript/lib
Deepkit Type: Injected TypeScript transformer at /private/tmp/asdasd/deepkit-framework/packages/api-console-gui/node_modules/typescript/lib
Deepkit Type: Injected TypeScript transformer at /private/tmp/asdasd/deepkit-framework/packages/orm-browser-gui/node_modules/typescript/lib
Deepkit Type: Injected TypeScript transformer at /private/tmp/asdasd/deepkit-framework/packages/framework-debug-gui/node_modules/typescript/lib
Deepkit Type: Injected TypeScript transformer at /private/tmp/asdasd/deepkit-framework/website/node_modules/typescript/lib

marc at mpro in /tmp/asdasd/deepkit-framework (master)
$ npm run build

> build
> tsc --build tsconfig.json && tsc --build tsconfig.esm.json && lerna run build

lerna notice cli v7.4.2

    ✔  @deepkit/core:build (888ms)
    ✔  @deepkit/type-spec:build (892ms)
    ✔  @deepkit/topsort:build (893ms)
    ✔  @deepkit/core-rxjs:build (843ms)
    ✔  @deepkit/filesystem:build (844ms)
    ✔  @deepkit/skeletion:build (850ms)
    ✔  @deepkit/type-compiler:build (862ms)
    ✔  @deepkit/filesystem-google:build (1s)
    ✔  @deepkit/filesystem-fstp:build (1s)
    ✔  @deepkit/filesystem-ftp:build (1s)
    ✔  @deepkit/filesystem-aws-s3:build (1s)
    ✔  @deepkit/bun:build (1s)
    ✔  @deepkit/vite:build (1s)
    ✔  @deepkit/type:build (1s)
    ✔  @deepkit/injector:build (765ms)
    ✔  @deepkit/bson:build (768ms)
    ✔  @deepkit/stopwatch:build (768ms)
    ✔  @deepkit/logger:build (896ms)
    ✔  @deepkit/template:build (895ms)
    ✔  @deepkit/event:build (898ms)
    ✔  @deepkit/rpc:build (875ms)
    ✔  @deepkit/orm:build (879ms)
    ✔  @deepkit/workflow:build (880ms)
    ✔  @deepkit/orm-browser-api:build (926ms)
    ✔  @deepkit/api-console-api:build (927ms)
    ✔  @deepkit/framework-debug-api:build (927ms)
    ✔  @deepkit/app:build (920ms)
    ✔  @deepkit/rpc-tcp:build (932ms)
    ✔  @deepkit/sql:build (917ms)
    ✔  @deepkit/http:build (921ms)
    ✔  @deepkit/create-app:build (922ms)
    ✔  @deepkit/broker:build (924ms)
    ✔  @deepkit/mysql:build (1s)
    ✔  @deepkit/sqlite:build (1s)
    ✔  @deepkit/mongo:build (1s)
    ✔  @deepkit/postgres:build (1s)
    ✔  @deepkit/desktop-ui:build (9s)
    ✔  @deepkit/api-console-gui:build (23s)
    ✔  @deepkit/api-console-module:build (806ms)
    ✔  @deepkit/orm-browser-gui:build (24s)
    ✔  @deepkit/framework-debug-gui:build (29s)
    ✔  @deepkit/orm-browser:build (742ms)
    ✔  @deepkit/example-server:build (3s)
    ✔  website:build (1m)

 —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  Lerna (powered by Nx)   Successfully ran target build for 44 projects (2m)


marc at mpro in /tmp/asdasd/deepkit-framework (master)
$ npm run test packages/type/

> test
> node --max_old_space_size=3048 node_modules/jest/bin/jest.js --forceExit --no-cache packages/type/

● Validation Warning:

  Unknown option "testTimeout" with value 50000 was found.
  This is probably a typing mistake. Fixing it will remove this message.

  Configuration Documentation:
  https://jestjs.io/docs/configuration

● Validation Warning:

  Unknown option "testTimeout" with value 50000 was found.
  This is probably a typing mistake. Fixing it will remove this message.

  Configuration Documentation:
  https://jestjs.io/docs/configuration

● Validation Warning:

  Unknown option "testTimeout" with value 50000 was found.
  This is probably a typing mistake. Fixing it will remove this message.

  Configuration Documentation:
  https://jestjs.io/docs/configuration

● Validation Warning:

  Unknown option "testTimeout" with value 50000 was found.
  This is probably a typing mistake. Fixing it will remove this message.

  Configuration Documentation:
  https://jestjs.io/docs/configuration

 PASS  packages/type/tests/processor.spec.ts (5.892 s)
 PASS  packages/type/tests/type-serialization.spec.ts (6.324 s)
  ● Console

    console.log
      type [ { kind: 19, type: 1 }, { kind: 1, typeName: 'BehaviorSubject' } ]

      at Object.<anonymous> (tests/type-serialization.spec.ts:264:13)

 PASS  packages/type/tests/typeguard.spec.ts (6.486 s)
 PASS  packages/type/tests/performance-issue1.spec.ts (6.666 s)
  ● Console

    console.log
      Router took 57

      at Object.<anonymous> (tests/performance-issue1.spec.ts:1368:13)

 PASS  packages/type/tests/complex-query.spec.ts
 PASS  packages/type/tests/stringify.spec.ts
 PASS  packages/type/tests/type-spec.spec.ts (6.898 s)
 PASS  packages/type/tests/integration2.spec.ts (6.908 s)
  ● Console

    console.log
      reflection <ref *1> {
        kind: 30,
        id: 147,
        types: [
          { kind: 32, type: [Object], name: 'base', parent: [Circular *1] },
          { kind: 32, type: [Object], name: 'id', parent: [Circular *1] }
        ],
        implements: [
          {
            kind: 30,
            typeName: 'Base',
            inlined: true,
            id: 142,
            types: [Array],
            annotations: {}
          }
        ],
        annotations: {},
        typeName: 'User',
        jit: {
          reflectionClass: ReflectionClass {
            type: [Circular *1],
            parent: undefined,
            description: '',
            data: {},
            disableConstructor: false,
            singleTableInheritance: false,
            indexes: [],
            propertyNames: [Array],
            methodNames: [],
            properties: [Array],
            methods: [],
            references: [],
            primaries: [Array],
            autoIncrements: [],
            subClasses: []
          }
        }
      }

      at Object.<anonymous> (tests/integration2.spec.ts:1010:13)

    console.log
      reflection <ref *1> {
        kind: 30,
        id: 151,
        types: [
          { kind: 32, type: [Object], name: 'base', parent: [Circular *1] },
          { kind: 32, type: [Object], name: 'id', parent: [Circular *1] }
        ],
        implements: [
          {
            kind: 30,
            typeName: 'Base',
            typeArguments: [Array],
            id: 149,
            types: [Array],
            annotations: {}
          }
        ],
        annotations: {},
        typeName: 'User',
        jit: {
          reflectionClass: ReflectionClass {
            type: [Circular *1],
            parent: undefined,
            description: '',
            data: {},
            disableConstructor: false,
            singleTableInheritance: false,
            indexes: [],
            propertyNames: [Array],
            methodNames: [],
            properties: [Array],
            methods: [],
            references: [],
            primaries: [Array],
            autoIncrements: [],
            subClasses: []
          }
        }
      }

      at Object.<anonymous> (tests/integration2.spec.ts:1026:13)

    console.log
      [
        <ref *1> {
          kind: 32,
          type: {
            kind: 26,
            types: [Array],
            jit: {},
            annotations: {},
            parent: [Circular *1]
          },
          name: '__meta',
          optional: true,
          parent: {
            kind: 30,
            typeName: 'PrimaryKey',
            typeArguments: undefined,
            id: 145,
            types: [Array],
            annotations: {},
            originTypes: [Array]
          }
        }
      ]

      at Object.<anonymous> (tests/integration2.spec.ts:1046:13)

    console.log
      [
        ValidationErrorItem {
          path: 'id',
          code: 'type',
          message: 'Not a number',
          value: undefined
        }
      ]

      at Object.<anonymous> (tests/integration2.spec.ts:2055:13)

 PASS  packages/type/tests/decorator-builder.spec.ts
 PASS  packages/type/tests/integration3.spec.ts
  ● Console

    console.log
      A [class A extends StreamApiResponseClass] {
        __type: [
          [Function (anonymous)],
          [Function (anonymous)],
          [Function (anonymous)],
          [Function (anonymous)],
          [Function (anonymous)],
          'response',
          'constructor',
          [Function (anonymous)],
          [Function (anonymous)],
          'A',
          `PPdi!h!!o""qe!!!j7#PPdi$h!!o%"qe!!!j2&:"0'5Pdi(h!!o)"qe!!!j6"w*`
        ]
      }

      at StreamApiResponse (tests/integration3.spec.ts:90:17)

 PASS  packages/type/tests/generics.spec.ts
 PASS  packages/type/tests/validation.spec.ts
  ● Console

    console.log
      deepkitInlined 155.29250000000047

      at Object.<anonymous> (tests/validation.spec.ts:337:13)

    console.log
      deepkitRef 257.0030000000006

      at Object.<anonymous> (tests/validation.spec.ts:349:13)

    console.log
      ratio 1.6549607997810571

      at Object.<anonymous> (tests/validation.spec.ts:352:13)

    console.log
      [
        ValidationErrorItem {
          path: '0.level',
          code: 'positive',
          message: 'Number needs to be positive',
          value: -1
        },
        ValidationErrorItem {
          path: '1.level',
          code: 'positive',
          message: 'Number needs to be positive',
          value: -1
        }
      ]

      at Object.<anonymous> (tests/validation.spec.ts:364:13)

 PASS  packages/type/tests/typedarray.spec.ts
  ● Console

    console.log
      Float32Array(2) [ 256, 23029.4453125 ]

      at Object.<anonymous> (tests/typedarray.spec.ts:65:13)

 PASS  packages/type/tests/serializer.spec.ts (7.35 s)
  ● Console

    console.log
      Vehicle {
        constructor(Guest: Guest {
            constructor(id: number);
            id: number;
          });
        Guest: Guest {
          constructor(id: number);
          id: number;
        };
      }

      at Object.<anonymous> (tests/serializer.spec.ts:1389:13)

 PASS  packages/type/tests/type-infer-runtime.spec.ts
 PASS  packages/type/tests/change-detection.spec.ts
 PASS  packages/type/tests/type.spec.ts (7.307 s)
  ● Console

    console.log
      type <ref *1> {
        kind: 30,
        id: 190,
        types: [
          { kind: 32, type: [Object], name: 'type', parent: [Circular *1] },
          { kind: 32, type: [Object], name: 'id', parent: [Circular *1] }
        ],
        annotations: {},
        typeName: 'MessageDelete'
      }

      at Object.<anonymous> (tests/type.spec.ts:1075:13)

    console.log
      <ref *1> {
        kind: 30,
        typeName: 'ChangesInterface',
        typeArguments: [ { kind: 1, parent: [Object] } ],
        id: 261,
        types: [
          {
            kind: 32,
            type: [Object],
            name: '$set',
            optional: true,
            parent: [Circular *1]
          },
          {
            kind: 32,
            type: [Object],
            name: '$unset',
            optional: true,
            parent: [Circular *1]
          },
          {
            kind: 32,
            type: [Object],
            name: '$inc',
            optional: true,
            parent: [Circular *1]
          }
        ],
        annotations: {}
      }

      at Object.<anonymous> (tests/type.spec.ts:1315:13)

 PASS  packages/type/tests/pack.spec.ts
 PASS  packages/type/tests/type-name.spec.ts
 PASS  packages/type/tests/snapshot.spec.ts
 PASS  packages/type/tests/serializer-api.spec.ts
  ● Console

    console.log

          function (input) {
              let output = undefined;

      output = String(input);
      output = output.slice(0, 10);
              return output;
          }

      at Object.<anonymous> (tests/serializer-api.spec.ts:52:13)

    console.log
      [
        'C, property=a, A, "a"',
        'C, property=a, A, "b"',
        'C, property=b, B, "a"',
        'C, property=b, B, "b"',
        'C, property=b, B, "c"'
      ]

      at Object.<anonymous> (tests/serializer-api.spec.ts:154:13)

 PASS  packages/type/tests/integration4.spec.ts
  ● Console

    console.log
      <ref *1> {
        kind: 17,
        function: [Function: Function],
        parameters: [],
        return: { kind: 2, parent: [Circular *1] },
        typeName: undefined
      }

      at Object.<anonymous> (tests/integration4.spec.ts:153:13)

    console.log
      <ref *1> {
        kind: 30,
        id: 43,
        types: [ { kind: 32, type: [Object], name: 'a', parent: [Circular *1] } ],
        annotations: {},
        typeName: undefined
      }

      at Object.<anonymous> (tests/integration4.spec.ts:154:13)

 PASS  packages/type/tests/path.spec.ts
 PASS  packages/type/tests/complex-filter.spec.ts
 PASS  packages/type/tests/standard-functions.spec.ts
 PASS  packages/type/tests/conditional-type.spec.ts
 PASS  packages/type/tests/property-flags.spec.ts
 PASS  packages/type/tests/valuesof-union.spec.ts
 PASS  packages/type/tests/receive-type.spec.ts
 PASS  packages/type/tests/issues/complex-union.spec.ts
 PASS  packages/type/tests/class.spec.ts
 PASS  packages/type/tests/reflection.spec.ts
 PASS  packages/type/tests/mixin.spec.ts
 PASS  packages/type/tests/simple-decorator.spec.ts
 PASS  packages/type/tests/nominal.spec.ts
 PASS  packages/type/tests/jsdoc.spec.ts
 PASS  packages/type/tests/runtime-types.spec.ts
 PASS  packages/type/tests/default.spec.ts
 PASS  packages/type/tests/advanced.spec.ts
  ● Console

    console.log
      type2 <ref *1> {
        kind: 30,
        typeName: 't2',
        typeArguments: undefined,
        id: 172,
        types: [
          {
            kind: 31,
            type: [Object],
            index: [Object],
            parent: [Circular *1],
            jit: [Object]
          },
          {
            kind: 32,
            type: [Object],
            name: '$and',
            optional: true,
            parent: [Circular *1],
            jit: [Object]
          },
          {
            kind: 32,
            type: [Object],
            name: '$nor',
            optional: true,
            parent: [Circular *1],
            jit: [Object]
          },
          {
            kind: 32,
            type: [Object],
            name: '$or',
            optional: true,
            parent: [Circular *1],
            jit: [Object]
          },
          {
            kind: 31,
            parent: [Circular *1],
            index: [Object],
            type: [Object],
            jit: [Object]
          }
        ],
        jit: {
          visitStack: { id: 137, depth: 1 },
          hasCircularReference: true,
          '0_default_': [Function: self]
        },
        annotations: {},
        originTypes: [ { typeName: 'FilterQuery', typeArguments: [Array] } ]
      }

      at Object.<anonymous> (tests/advanced.spec.ts:152:13)

    console.warn
      Type computation took very long 245ms for t1

      352 |         const took = Date.now() - start;
      353 |         if (took > 100) {
    > 354 |             console.warn(`Type computation took very long ${took}ms for ${stringifyType(result)}`);
          |                     ^
      355 |         }
      356 |         return result;
      357 |     }

      at Processor.reflect (src/reflection/processor.ts:354:21)
      at resolveRuntimeType (src/reflection/processor.ts:129:34)
      at resolvePacked (src/reflection/processor.ts:116:12)
      at resolveReceiveType (src/reflection/reflection.ts:121:25)
      at typeOf (src/reflection/reflection.ts:178:64)
      at Object.<anonymous> (tests/advanced.spec.ts:287:24)

 PASS  packages/type/tests/compiler.spec.ts (9.342 s)
  ● Console

    console.debug
      @deepkit/type transformer loaded

      at debug (../type-compiler/src/debug.ts:11:17)
          at Array.map (<anonymous>)

    console.debug
      Transform file with reflection=default took 2ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 20ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js var _a;
      function say(text) { }
      say.__type = ['text', 'say', 'P&2!$/"'];
      return _a = class User {
          },
          _a.__type = ['id', 'username', 'User', '\'3!&3"5w#'],
          _a;

      at Object.<anonymous> (tests/compiler.spec.ts:367:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/app.ts.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Found config /private/tmp/asdasd/deepkit-framework/packages/type/tsconfig.json:
      reflection: default
      exclude: [
        'lib.dom*.d.ts',
        '*typedarrays.d.ts',
        'lib.webworker*.d.ts',
        'lib.decorator*.d.ts',
        'lib.es2015.proxy.d.ts',
        'lib.es2020.sharedmemory.d.ts',
        'lib.es2015.core.d.ts'
      ]
      paths: undefined

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js {
        'app.ts.js': '/**\n' +
          ' * This is my class\n' +
          ' */\n' +
          'class User {\n' +
          '}\n' +
          `User.__type = ['id', 'username', 'User', '\\'3!&3"5w#'];\n` +
          '/** My function */\n' +
          'function p() { }\n' +
          `p.__type = ['p', 'P"/!'];\n`,
        'app.ts.d.ts': '/**\n' +
          ' * This is my class\n' +
          ' */\n' +
          'declare class User {\n' +
          '    id: number;\n' +
          '    username: string;\n' +
          '}\n' +
          '/** My function */\n' +
          'declare function p(): void;\n'
      }

      at Object.<anonymous> (tests/compiler.spec.ts:390:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js var _a;
      return _a = class Container {
              constructor(title) {
                  this.title = title;
              }
          },
          _a.__type = ['title', 'constructor', 'Container', 'P&2!:"0"5w#'],
          _a;

      at Object.<anonymous> (tests/compiler.spec.ts:413:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js var _a;
      const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];
      const __Ωo = ['a', 'b', 'o', 'P&4!\'4"Mw#y'];
      return _a = class Container {
          },
          _a.__type = [() => __ΩPartial, () => __Ωo, 'data', 'Container', 'n"o!"3#5w$'],
          _a;

      at Object.<anonymous> (tests/compiler.spec.ts:496:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#!w"y'];
      () => {
          const __Ωo = ['a', 'o', 'P&4!Mw"y'];
          const __Ωp = [() => __ΩPartial, () => __Ωo, 'p', 'n"o!"w#y'];
          typeOf([], [() => __Ωp, 'n!']);
      };
      return true;

      at Object.<anonymous> (tests/compiler.spec.ts:541:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      true

      at Object.<anonymous> (tests/compiler.spec.ts:544:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#!w"y'];
      () => {
          const __Ωo = ['a', 'o', 'P&4!Mw"y'];
          const __Ωp = [() => __ΩPartial, () => __Ωo, 'p', 'n"o!"w#y'];
          typeOf([], [() => __Ωp, 'n!']);
      };
      () => {
          const __ΩAllString = ['T', 'AllString', 'l%&Rb!Pde"!gN#!w"y'];
          const __Ωo = ['a', 'b', 'o', 'P&4!\'4"Mw#y'];
          const __Ωp = [() => __ΩAllString, () => __Ωo, 'p', 'n"o!"w#y'];
          typeOf([], [() => __Ωp, 'n!']);
      };

      at Object.<anonymous> (tests/compiler.spec.ts:571:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function __assignType(fn, args) {
          fn.__type = args;
          return fn;
      }
      const wrap = {
          add: __assignType(function add(item) {
          }, ['item', 'add', 'P&2!"/"'])
      };
      return typeOf([], [() => wrap, 'i!']);

      at Object.<anonymous> (tests/compiler.spec.ts:632:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js class ClassA {
      }
      ClassA.__type = ['T', 'item', 'ClassA', 'b!e!!3"5w#'];
      class ClassB extends ClassA {
      }
      ClassB.__type = [() => ClassA, 'ClassB', 'P&7!5&6"w"'];
      return typeOf([], [() => ClassB, 'P7!']);

      at Object.<anonymous> (tests/compiler.spec.ts:654:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type {
        kind: 20,
        id: undefined,
        classType: [class ClassB extends ClassA] {
          __type: [
            [Function (anonymous)],
            'ClassB',
            'P&7!5&6"w"',
            __unpack: [Object],
            __type: [Object]
          ]
        },
        types: [
          {
            kind: 15,
            type: [Object],
            name: 'item',
            visibility: 0,
            parent: [Object]
          }
        ],
        typeArguments: undefined,
        extendsArguments: [ { kind: 5 } ],
        typeName: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:656:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 5ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩA = ['A', 'PMw!y'];
      return [typeOf([], [() => __ΩA, 'n!']), typeOf([], [() => __ΩA, 'n!'])];

      at Object.<anonymous> (tests/compiler.spec.ts:698:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩA = ['id', 'A', 'P&4!Mw"y'];
      const __ΩC = [() => __ΩA, 'a', 'C', 'Pn!4"Mw#y'];
      return [typeOf([], [() => __ΩA, 'n!']), typeOf([], [() => __ΩC, "a", 'n!."f'])];

      at Object.<anonymous> (tests/compiler.spec.ts:716:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.dir
      [
        {
          kind: 30,
          id: undefined,
          types: <ref *2> [
            <ref *1> {
              kind: 32,
              type: { kind: 5, parent: [Circular *1] },
              name: 'id',
              parent: {
                kind: 30,
                id: 31,
                types: [Circular *2],
                annotations: {},
                typeName: 'A'
              }
            }
          ],
          annotations: {},
          typeName: undefined,
          typeArguments: undefined
        },
        {
          kind: 30,
          id: undefined,
          types: [
            <ref *1> {
              kind: 32,
              type: { kind: 5, parent: [Circular *1] },
              name: 'id',
              parent: {
                kind: 30,
                id: 31,
                types: <ref *2> [ [Circular *1] ],
                annotations: {},
                typeName: 'A'
              }
            }
          ],
          annotations: {},
          typeName: undefined,
          jit: {},
          inlined: true,
          parent: <ref *3> {
            kind: 32,
            type: {
              kind: 30,
              id: 31,
              types: [
                <ref *1> {
                  kind: 32,
                  type: { kind: 5, parent: [Circular *1] },
                  name: 'id',
                  parent: {
                    kind: 30,
                    id: 31,
                    types: <ref *2> [ [Circular *1] ],
                    annotations: {},
                    typeName: 'A'
                  }
                }
              ],
              annotations: {},
              typeName: 'A',
              jit: {},
              inlined: true,
              parent: [Circular *3],
              indexAccessOrigin: {
                container: {
                  kind: 30,
                  typeName: 'C',
                  inlined: true,
                  id: 33,
                  types: [ [Circular *3] ],
                  annotations: {}
                },
                index: { kind: 13, literal: 'a' }
              }
            },
            name: 'a',
            parent: {
              kind: 30,
              typeName: 'C',
              id: 33,
              types: [ [Circular *3] ],
              annotations: {}
            }
          },
          indexAccessOrigin: {
            container: <ref *4> {
              kind: 30,
              typeName: 'C',
              inlined: true,
              id: 33,
              types: <ref *5> [
                <ref *3> {
                  kind: 32,
                  type: {
                    kind: 30,
                    id: 31,
                    types: [
                      <ref *1> {
                        kind: 32,
                        type: { kind: 5, parent: [Circular *1] },
                        name: 'id',
                        parent: {
                          kind: 30,
                          id: 31,
                          types: <ref *2> [ [Circular *1] ],
                          annotations: {},
                          typeName: 'A'
                        }
                      }
                    ],
                    annotations: {},
                    typeName: 'A',
                    jit: {},
                    inlined: true,
                    parent: [Circular *3],
                    indexAccessOrigin: {
                      container: [Circular *4],
                      index: { kind: 13, literal: 'a' }
                    }
                  },
                  name: 'a',
                  parent: {
                    kind: 30,
                    typeName: 'C',
                    id: 33,
                    types: [Circular *5],
                    annotations: {}
                  }
                }
              ],
              annotations: {}
            },
            index: { kind: 13, literal: 'a' }
          },
          typeArguments: undefined
        }
      ]

      at Object.<anonymous> (tests/compiler.spec.ts:718:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function __assignType(fn, args) {
          fn.__type = args;
          return fn;
      }
      return __assignType(function fn(v) {
          return typeOf([], [() => v, 'Pdi!h!!qe!!!j']);
      }, ['v', 'fn', 'P"2!"/"']);

      at Object.<anonymous> (tests/compiler.spec.ts:731:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      [Function: fn] { __type: [ 'v', 'fn', 'P"2!"/"' ] }

      at Object.<anonymous> (tests/compiler.spec.ts:733:13)

    console.log
      {
        kind: 13,
        literal: 'abc',
        typeName: undefined,
        id: undefined,
        typeArguments: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:734:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __Ωconstructor = ['args', 'new', 'constructor', 'P"@2!"/"w#y'];
      return typeOf([], [() => __Ωconstructor, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:743:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      {
        kind: 17,
        name: 'new',
        return: <ref *1> {
          kind: 1,
          parent: {
            kind: 17,
            name: 'new',
            return: [Circular *1],
            parameters: [Array],
            typeName: 'constructor',
            id: 34,
            function: [Array]
          }
        },
        parameters: [ { kind: 18, parent: [Object], name: 'args', type: [Object] } ],
        typeName: undefined,
        id: undefined,
        function: <ref *2> [
          'args',
          'new',
          'constructor',
          'P"@2!"/"w#y',
          __unpack: { ops: [Array], stack: [Array] },
          __type: {
            kind: 17,
            name: 'new',
            return: [Object],
            parameters: [Array],
            typeName: 'constructor',
            id: 34,
            function: [Circular *2]
          }
        ],
        typeArguments: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:745:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __Ωd8 = [`1233`, 'd8', 'l)e"!R!RPd.!P\'h"!\'Sqk#\'Qw"y'];
      const __Ωd9 = [`1133`, 'd9', 'l)e"!R!RPd.!P%h"!\'Sqk#\'Qw"y'];

      at Object.<anonymous> (tests/compiler.spec.ts:753:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      undefined

      at Object.<anonymous> (tests/compiler.spec.ts:755:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __Ωa2 = ["abcd", 'a', 'a2', 'l.Pe#!e#"GR!RPdd.!P."h"!h""Sqk#,Qw#y'];
      return typeOf([], [() => __Ωa2, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:762:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      {
        kind: 26,
        types: [
          { kind: 27, parent: [Object], type: [Object] },
          { kind: 27, parent: [Object], type: [Object] }
        ],
        typeName: undefined,
        id: undefined,
        typeArguments: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:764:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩClassType = ['T', 'args', 'new', 'ClassType', '"c!PP"@2"e#!1#Mw$y'];
      return typeOf([], [() => __ΩClassType, '&o!"']);

      at Object.<anonymous> (tests/compiler.spec.ts:777:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩClassType = ['T', 'args', 'new', 'ClassType', '"c!PP"@2"e#!1#Mw$y'];
      class MyClass {
      }
      MyClass.__type = ['id', 'MyClass', '\'3!5w"'];
      return typeOf([], [() => MyClass, () => __ΩClassType, 'l:e"!R!RPde#!h!!o""qk#\'QRPdP7!p)']);

      at Object.<anonymous> (tests/compiler.spec.ts:806:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩClassType = ['T', 'args', 'new', 'ClassType', '"c!PP"@2"e#!1#Mw$y'];
      class StreamApiResponseClass {
          constructor(response) {
              this.response = response;
          }
      }
      StreamApiResponseClass.__type = ['T', 'response', 'constructor', 'StreamApiResponseClass', 'b!Pe"!2":"0#5w$'];
      function StreamApiResponse2(responseBodyClass) {
          if (!responseBodyClass)
              throw new Error();
          class A extends StreamApiResponseClass {
              constructor(response) {
                  super(response);
                  this.response = response;
              }
          }
          A.__type = [() => responseBodyClass, () => __ΩClassType, () => StreamApiResponseClass, () => responseBodyClass, () => __ΩClassType, 'response', 'constructor', () => responseBodyClass, () => __ΩClassType, 'A', 'PPdi!h!!o""qe!!!j7#PPdi$h!!o%"qe!!!j2&:"0\'5Pdi(h!!o)"qe!!!j6"w*'];
          return A;
      }
      StreamApiResponse2.__type = [() => __ΩClassType, 'responseBodyClass', 'StreamApiResponse2', 'P"o!"2""/#'];
      return StreamApiResponse2;

      at Object.<anonymous> (tests/compiler.spec.ts:846:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type A

      at Object.<anonymous> (tests/compiler.spec.ts:850:13)

    console.log
      <ref *2> {
        kind: 18,
        parent: <ref *1> {
          kind: 16,
          parent: {
            kind: 20,
            id: 46,
            classType: [Function],
            types: [Array],
            typeArguments: undefined,
            extendsArguments: [Array],
            typeName: 'A',
            jit: [Object]
          },
          visibility: 0,
          name: 'constructor',
          return: { kind: 1, parent: [Circular *1] },
          parameters: [ [Circular *2] ],
          jit: {}
        },
        name: 'response',
        type: <ref *3> {
          kind: 20,
          classType: [class MyResponse],
          types: [],
          parent: {
            kind: 15,
            name: 'response',
            visibility: 0,
            default: undefined,
            type: [Circular *3],
            parent: [Object]
          }
        },
        visibility: 0
      }

      at Object.<anonymous> (tests/compiler.spec.ts:852:13)

    console.debug
      Transform file with reflection=default took 18ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __Ωa1 = ['a', 'a1', 'PP.!\'S\'LMw"y'];
      return typeOf([], [() => __Ωa1, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:861:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      {
        kind: 30,
        id: undefined,
        types: [ { kind: 31, parent: [Object], index: [Object], type: [Object] } ],
        annotations: {},
        typeName: undefined,
        typeArguments: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:863:13)

    console.debug
      Transform file with reflection=default took 3ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function __assignType(fn, args) {
          fn.__type = args;
          return fn;
      }
      const __ΩBox = ['T', 'a', 'Box', 'b!Pe"!4"Mw#y'];
      return __assignType(function fn(v) {
          // type result = typeof v extends Box<{b: infer T}> ? T : never; //this needs to be generated. It just replaces T with infer T
          //todo: full validation happens with that program:
          // (typeof v extends Box<{b: infer T}> ? T : never) extends infer RES ? RES extends string | number ? RES : never : never;
          // this gives us also the information whether RES needs can be narrowed.
          return typeOf([], [() => v, () => __ΩBox, 'Pdi!h!!o""qe!!!j']);
      }, [() => __ΩBox, 'v', 'fn', 'P"o!"2""/#']);

      at Object.<anonymous> (tests/compiler.spec.ts:905:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function __assignType(fn, args) {
          fn.__type = args;
          return fn;
      }
      const __ΩBox = ['T', "string", "number", 'Box', 'l4."R.#RPe#!&qk#&QRb!Pde"!p)w$y'];
      return __assignType(function fn(v) {
          return typeOf([], [() => __ΩBox, () => v, 'Pdi"h!!qe!!!jo!"']);
      }, ['v', 'fn', 'P"2!"/"']);

      at Object.<anonymous> (tests/compiler.spec.ts:920:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function __assignType(fn, args) {
          fn.__type = args;
          return fn;
      }
      const __ΩPrimaryKey = ['T', "primaryKey", '__brand', 'PrimaryKey', 'b!Pe"!P."4#8MKw$y'];
      return __assignType(function fn(v) {
          return typeOf([], [() => v, 'Pdi!h!!qe!!!j']);
      }, ['v', 'fn', 'P"2!"/"']);

      at Object.<anonymous> (tests/compiler.spec.ts:935:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function __assignType(fn, args) {
          fn.__type = args;
          return fn;
      }
      return __assignType(function a(v) {
          var _a;
          return _a = class {
              },
              _a.__type = [() => v, 'item', 'Pdi!h!!qe!!!j3"5'],
              _a;
      }, ['v', 'a', 'P"2!"/"']);

      at Object.<anonymous> (tests/compiler.spec.ts:948:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function __assignType(fn, args) {
          fn.__type = args;
          return fn;
      }
      return __assignType(function bla(v) {
          class P {
          }
          P.__type = [() => v, 'type', 'P', 'Pdi!h!!qe!!!j3"5w#'];
          return P;
      }, ['v', 'bla', 'P"2!"/"']);

      at Object.<anonymous> (tests/compiler.spec.ts:971:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      [Function: bla] { __type: [ 'v', 'bla', 'P"2!"/"' ] }

      at Object.<anonymous> (tests/compiler.spec.ts:973:13)

    console.log
      [class P] {
        __type: [ [Function (anonymous)], 'type', 'P', 'Pdi!h!!qe!!!j3"5w#' ]
      }

      at Object.<anonymous> (tests/compiler.spec.ts:974:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function __assignType(fn, args) {
          fn.__type = args;
          return fn;
      }
      const __ΩA = ['T', 'A', 'b!e!!w"y'];
      return __assignType(function fn(v) {
          return typeOf([], [() => v, () => __ΩA, 'Pdi!h!!o""qe!!!j']);
      }, [() => __ΩA, 'v', 'fn', 'P"o!"2""/#']);

      at Object.<anonymous> (tests/compiler.spec.ts:986:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      [Function: fn] {
        __type: [ [Function (anonymous)], 'v', 'fn', 'P"o!"2""/#' ]
      }

      at Object.<anonymous> (tests/compiler.spec.ts:988:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js class Wrap {
          constructor(item) {
              this.item = item;
          }
      }
      Wrap.__type = ['T', 'item', 'constructor', 'Wrap', 'b!Pe"!2":"0#5w$'];
      return new Wrap('abc');

      at Object.<anonymous> (tests/compiler.spec.ts:999:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩPartial2 = ['T', 'Partial2', 'l+e#!e"!fRb!Pde"!gN#"w"y'];
      const __Ωo = ['a', 'o', 'P&4!Mw"y'];
      const __Ωp = [() => __ΩPartial2, () => __Ωo, 'p', 'n"o!"w#y'];
      return typeOf([], [() => __Ωp, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1040:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩConditional = [true, false, 'Conditional', 'l).!R."RP&&qk#&Qw#y'];
      return typeOf([], [() => __ΩConditional, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1063:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩIsString = ['T', true, false, 'IsString', 'l8."R.#RPe$!e#!f&qk#&QRb!Pde"!gN)!w$y'];
      const __Ωo = ['a', 'b', 'o', 'P&4!\'4"Mw#y'];
      const __Ωp = [() => __ΩIsString, () => __Ωo, 'p', 'n"o!"w#y'];
      return typeOf([], [() => __Ωp, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1083:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩConditional = ['t', 'Conditional', 'l)e"!R!RPdP&4!MPh"!4!Mqk#\'Qw"y'];
      return typeOf([], [() => __ΩConditional, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1102:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __Ωo = ['t', 'a', 'b', 'o', 'PP&4!M4"P\'4!M4#Mw$y'];
      return typeOf([], [() => __Ωo, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1116:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩASD = ['T', true, '__primaryKey', 'ASD', 'b!Pe"!P."4#8MKw$y'];
      return typeOf([], [() => __ΩASD, '&o!"']);

      at Object.<anonymous> (tests/compiler.spec.ts:1146:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩA = ["asd", 'A', 'l%&RPd.!N#!w"y'];
      return typeOf([], [() => __ΩA, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1168:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩA = ['T', 'A', 'l%&Rb!Pde"!N#!w"y'];
      return typeOf([], [() => __ΩA, "asd", '."o!"']);

      at Object.<anonymous> (tests/compiler.spec.ts:1184:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩA = ['T', "brand", 'name', 'A', 'l%&Rb!."c#Pe"!Pde#"N#!Kw$y'];
      return typeOf([], [() => __ΩA, '&o!"']);

      at Object.<anonymous> (tests/compiler.spec.ts:1200:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩA = ['T', 'Branding', "brand", 'ReservedName', 'A', 'l\'e$"Rb!b".#c$Pe"!Pde##N#!Kw%y'];
      return typeOf([], [() => __ΩA, "uuid", '&."o!#']);

      at Object.<anonymous> (tests/compiler.spec.ts:1222:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩA = ['T', 'A', '&c!e!!w"y'];
      return typeOf([], [() => __ΩA, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1244:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 610ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function cast(type = cast.Ω?.[0]) {
          cast.Ω = undefined;
          return reflect(type);
      }
      cast.__type = ['type', 'cast', 'P!2!"/"'];
      return (cast.Ω = [['&']], cast());

      at Object.<anonymous> (tests/compiler.spec.ts:1257:13)

    console.debug
      Transform file with reflection=default took 357ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 134ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function __assignType(fn, args) {
          fn.__type = args;
          return fn;
      }
      const cast = __assignType((type = cast.Ω?.[0]) => {
          cast.Ω = undefined;
          return reflect(type);
      }, ['type', '', 'P!2!"/"']);
      return (cast.Ω = [['&']], cast());

      at Object.<anonymous> (tests/compiler.spec.ts:1274:13)

    console.debug
      Transform file with reflection=default took 130ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 129ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function __assignType(fn, args) {
          fn.__type = args;
          return fn;
      }
      const obj = {
          cast: __assignType((type = obj.cast.Ω?.[0]) => {
              obj.cast.Ω = undefined;
              return reflect(type);
          }, ['type', '', 'P!2!"/"']),
      };
      return (obj.cast.Ω = [['&']], obj.cast());

      at Object.<anonymous> (tests/compiler.spec.ts:1294:13)

    console.debug
      Transform file with reflection=default took 127ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩRequest = ['T', 'body', 'Request', 'b!Pe"!4"Mw#y'];
      const __ΩBody = ['title', 'Body', 'P&4!Mw"y'];
      return typeOf([], [() => __ΩRequest, () => __ΩBody, 'n"o!"']);

      at Object.<anonymous> (tests/compiler.spec.ts:1317:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩRequest = ['T', 'body', 'Request', 'b!Pe"!4"Mw#y'];
      const __ΩBody = ['title', 'Body', 'P&4!Mw"y'];
      return typeOf([typeOf([], ['&'])], [() => __ΩRequest, '!o!"']);

      at Object.<anonymous> (tests/compiler.spec.ts:1348:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩConditional = ['T', 't', 'Conditional', 'l?e"!R!RPde$!e#!fPh"!4"Mqk#\'QRb!Pde"!gN)!w#y'];
      const __Ωo = ['t', 'a', 'b', 'o', 'PP&4!M4"P\'4!M4#Mw$y'];
      return typeOf([], [() => __ΩConditional, () => __Ωo, 'n"o!"']);

      at Object.<anonymous> (tests/compiler.spec.ts:1369:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩTuple = ['T', "hi", 'Tuple', 'b!P."e"!@Gw#y'];
      const __Ωr = [() => __ΩTuple, 'r', 'P&\'Go!"w"y'];
      return typeOf([], [() => __Ωr, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1388:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js class User {
          constructor(username) {
              this.username = username;
              this.created = new Date;
          }
          say(text) {
          }
      }
      User.__type = ['created', function () { return new Date; }, 'username', 'constructor', 'text', 'say', 'User', 'T3!>"P&2#:"0$P&2%$0&5w\''];
      return User;

      at Object.<anonymous> (tests/compiler.spec.ts:1415:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩUser = ['username', 'Hello what up?\nasdasd\n\ndas', 'User', 'P&4!?"Mw#y'];
      return typeOf([], [() => __ΩUser, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1485:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const symbol = Symbol.for('computedType1');
      const __ΩMyBrand = ['T', true, () => symbol, 'MyBrand', 'b!Pe"!P."4#8MKw$y'];
      return typeOf([], [() => __ΩMyBrand, '&o!"']);

      at Object.<anonymous> (tests/compiler.spec.ts:1504:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const symbol = Symbol.for('computedType1');
      const __ΩMyBrand = [true, () => symbol, 'MyBrand', 'P.!4"8Mw#y'];
      return typeOf([], [() => __ΩMyBrand, 'P&n!K']);

      at Object.<anonymous> (tests/compiler.spec.ts:1528:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩPrimaryKey = ['T', "primaryKey", '__type', 'PrimaryKey', 'b!Pe"!P."4#8MKw$y'];
      return typeOf([], [() => __ΩPrimaryKey, '&o!"']);

      at Object.<anonymous> (tests/compiler.spec.ts:1551:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩPrimaryKey = ["primaryKey", '__type', 'PrimaryKey', 'P.!4"8Mw#y'];
      return typeOf([], [() => __ΩPrimaryKey, 'P&n!K']);

      at Object.<anonymous> (tests/compiler.spec.ts:1580:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩBase = ['base', 'Base', 'P)4!Mw"y'];
      const __ΩUser = [() => __ΩBase, 'id', 'User', 'Pn!\'4"Mw#y'];
      return typeOf([], [() => __ΩUser, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1609:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type {
        kind: 30,
        id: undefined,
        types: [
          { kind: 32, type: [Object], name: 'base', parent: [Object] },
          { kind: 32, type: [Object], name: 'id', parent: [Object] }
        ],
        implements: [
          {
            kind: 30,
            typeName: 'Base',
            inlined: true,
            id: 125,
            types: [Array],
            annotations: {}
          }
        ],
        annotations: {},
        typeName: undefined,
        typeArguments: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1611:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩBase = ['T', 'base', 'Base', 'b!Pe"!4"Mw#y'];
      const __ΩUser = [() => __ΩBase, 'id', 'User', 'P)o!"\'4"Mw#y'];
      return typeOf([], [() => __ΩUser, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1634:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type {
        kind: 30,
        id: undefined,
        types: [
          { kind: 32, type: [Object], name: 'base', parent: [Object] },
          { kind: 32, type: [Object], name: 'id', parent: [Object] }
        ],
        implements: [
          {
            kind: 30,
            typeName: 'Base',
            typeArguments: [Array],
            id: 129,
            types: [Array],
            annotations: {}
          }
        ],
        annotations: {},
        typeName: undefined,
        typeArguments: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1636:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩPrimaryKey = ["primaryKey", '__meta', 'PrimaryKey', 'PP!P.!GK4"8Mw#y'];
      const __ΩUser = [() => __ΩPrimaryKey, 'id', 'User', 'Pn!\'4"Mw#y'];
      return typeOf([], [() => __ΩUser, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1657:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type {
        kind: 30,
        id: undefined,
        types: [ { kind: 32, type: [Object], name: 'id', parent: [Object] } ],
        annotations: { [Symbol(primaryKey)]: [ true ] },
        decorators: [
          {
            kind: 30,
            typeName: 'PrimaryKey',
            inlined: true,
            id: 133,
            types: [Array],
            annotations: {}
          }
        ],
        typeName: undefined,
        typeArguments: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1659:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const meta = Symbol.for('deepkit/meta');
      const __ΩPrimaryKey = ["primaryKey", () => meta, 'PrimaryKey', 'P.!4"8Mw#y'];
      return typeOf([], [() => __ΩPrimaryKey, 'P&n!K']);

      at Object.<anonymous> (tests/compiler.spec.ts:1682:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩPage = ['title', 0, 'children', 'Page', 'P&4!n"F4#Mw$y'];
      return typeOf([], [() => __ΩPage, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1708:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩDocument = ['title', () => __ΩNode, 'root', 'Document', 'P&4!n"4#Mw$y'];
      const __ΩNode = [0, 'children', 'Node', 'Pn!F4"Mw#y'];
      return typeOf([], [() => __ΩDocument, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1739:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js class Document {
      }
      Document.__type = ['title', () => Node, 'root', 'Document', '&3!P7"3#5w$'];
      class Node {
      }
      Node.__type = ['Node', '5w!'];
      return typeOf([], [() => Document, 'P7!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1756:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type {
        kind: 20,
        id: undefined,
        classType: [class Document] {
          __type: [
            'title',
            [Function (anonymous)],
            'root',
            'Document',
            '&3!P7"3#5w$',
            __unpack: [Object],
            __type: [Object]
          ]
        },
        types: [
          {
            kind: 15,
            type: [Object],
            name: 'title',
            visibility: 0,
            parent: [Object]
          },
          {
            kind: 15,
            type: [Object],
            name: 'root',
            visibility: 0,
            parent: [Object]
          }
        ],
        typeArguments: undefined,
        typeName: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1758:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const stringType = { kind: 5 };
      const __Ωt = [stringType, 'a', 't', 'Pa!4"Mw#y'];
      return typeOf([], [() => __Ωt, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1769:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type <ref *1> {
        kind: 5,
        parent: {
          kind: 32,
          type: [Circular *1],
          name: 'a',
          parent: {
            kind: 30,
            id: 141,
            types: [Array],
            annotations: {},
            typeName: 't'
          }
        }
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1771:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩInstanceType = ['T', 'args', 'new', 'InstanceType', 'l>e"!R"RPde#!P"@2"h"!/#qk#\'QRb!Pde"!p)w$y'];
      const __Ωt = [() => __ΩInstanceType, 't', '"o!"w"y'];
      return typeOf([], [() => __Ωt, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1783:13)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type {
        kind: 2,
        typeName: undefined,
        typeArguments: undefined,
        var: true,
        id: undefined,
        originTypes: [ { typeName: 'InstanceType', typeArguments: [Array] } ]
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1785:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/user.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 1ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/app.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js {
        'user.js': `const __ΩUser = ['id', 'User', 'P\\'4!Mw"y'];\n` +
          'export { __ΩUser as __ΩUser };\n',
        'user.d.ts': 'export interface User {\n' +
          '    id: number;\n' +
          '}\n' +
          'export declare type __ΩUser = any[];\n',
        'app.js': '/*@ts-ignore*/\n' +
          "import { __ΩUser } from './user.js';\n" +
          "typeOf([], [() => __ΩUser, 'n!']);\n",
        'app.d.ts': 'export {};\n'
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1797:13)

    console.log
      {
        'user.js': `const __ΩUser = ['id', 'User', 'P\\'4!Mw"y'];\n` +
          'export { __ΩUser as __ΩUser };\n',
        'user.d.ts': 'export interface User {\n' +
          '    id: number;\n' +
          '}\n' +
          'export declare type __ΩUser = any[];\n',
        'app.js': '/*@ts-ignore*/\n' +
          "import { __ΩUser } from './user.js';\n" +
          "typeOf([], [() => __ΩUser, 'n!']);\n",
        'app.d.ts': 'export {};\n'
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1803:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/user.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 105ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/app.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js {
        'user.js': `const __ΩUser = ['id', 'User', 'P\\'4!Mw"y'];\n` +
          'export { __ΩUser as __ΩUser };\n',
        'user.d.ts': 'export interface User {\n' +
          '    id: number;\n' +
          '}\n' +
          'export declare type __ΩUser = any[];\n',
        'app.js': `const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];\n` +
          '/*@ts-ignore*/\n' +
          "import { __ΩUser } from './user.js';\n" +
          "const __Ωbla = ['bla', '&w!y'];\n" +
          'export { __Ωbla as __Ωbla };\n' +
          "export const hi = 'yes';\n" +
          `const __Ωa = [() => __ΩPartial, () => __ΩUser, 'a', 'n"o!"w#y'];\n` +
          "typeOf([], [() => __Ωa, 'n!']);\n",
        'app.d.ts': 'export type bla = string;\n' +
          'export declare const hi = "yes";\n' +
          'export declare type __Ωbla = any[];\n'
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1817:13)

    console.log
      {
        'user.js': `const __ΩUser = ['id', 'User', 'P\\'4!Mw"y'];\n` +
          'export { __ΩUser as __ΩUser };\n',
        'user.d.ts': 'export interface User {\n' +
          '    id: number;\n' +
          '}\n' +
          'export declare type __ΩUser = any[];\n',
        'app.js': `const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];\n` +
          '/*@ts-ignore*/\n' +
          "import { __ΩUser } from './user.js';\n" +
          "const __Ωbla = ['bla', '&w!y'];\n" +
          'export { __Ωbla as __Ωbla };\n' +
          "export const hi = 'yes';\n" +
          `const __Ωa = [() => __ΩPartial, () => __ΩUser, 'a', 'n"o!"w#y'];\n` +
          "typeOf([], [() => __Ωa, 'n!']);\n",
        'app.d.ts': 'export type bla = string;\n' +
          'export declare const hi = "yes";\n' +
          'export declare type __Ωbla = any[];\n'
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1826:13)

    console.debug
      Transform file with reflection=default took 0ms (cjs) /private/tmp/asdasd/deepkit-framework/packages/type/tests/user.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 93ms (cjs) /private/tmp/asdasd/deepkit-framework/packages/type/tests/app.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      {
        'user.js': '"use strict";\n' +
          'Object.defineProperty(exports, "__esModule", { value: true });\n' +
          'exports.__ΩUser = void 0;\n' +
          `const __ΩUser = ['id', 'User', 'P\\'4!Mw"y'];\n` +
          'exports.__ΩUser = __ΩUser;\n',
        'user.d.ts': 'export interface User {\n' +
          '    id: number;\n' +
          '}\n' +
          'export declare type __ΩUser = any[];\n',
        'app.js': '"use strict";\n' +
          'Object.defineProperty(exports, "__esModule", { value: true });\n' +
          'exports.hi = exports.__Ωbla = void 0;\n' +
          `const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];\n` +
          '/*@ts-ignore*/\n' +
          "const { __ΩUser } = require('./user.js');\n" +
          "const __Ωbla = ['bla', '&w!y'];\n" +
          'exports.__Ωbla = __Ωbla;\n' +
          "exports.hi = 'yes';\n" +
          `const __Ωa = [() => __ΩPartial, () => __ΩUser, 'a', 'n"o!"w#y'];\n` +
          "typeOf([], [() => __Ωa, 'n!']);\n",
        'app.d.ts': 'export type bla = string;\n' +
          'export declare const hi = "yes";\n' +
          'export declare type __Ωbla = any[];\n'
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1840:13)

    console.debug
      Transform file with reflection=default took 1ms (cjs) /private/tmp/asdasd/deepkit-framework/packages/type/tests/user.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (cjs) /private/tmp/asdasd/deepkit-framework/packages/type/tests/app.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (cjs) /private/tmp/asdasd/deepkit-framework/packages/type/tests/user.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (cjs) /private/tmp/asdasd/deepkit-framework/packages/type/tests/app.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/user.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 90ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/app.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      {
        'user.js': `const __ΩUser = ['id', 'User', 'P\\'4!Mw"y'];\n` +
          'export { __ΩUser as __ΩUser };\n',
        'user.d.ts': 'export interface User {\n' +
          '    id: number;\n' +
          '}\n' +
          'export declare type __ΩUser = any[];\n',
        'app.js': `const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];\n` +
          "const __Ωbla = ['bla', '&w!y'];\n" +
          'export { __Ωbla as __Ωbla };\n' +
          "export const hi = 'yes';\n" +
          `const __Ωa = [() => __ΩPartial, 'User', 'a', '"w"o!"w#y'];\n` +
          "typeOf([], [() => __Ωa, 'n!']);\n",
        'app.d.ts': 'export type bla = string;\n' +
          'export declare const hi = "yes";\n' +
          'export declare type __Ωbla = any[];\n'
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1899:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/user.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 92ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/app.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      {
        'user.js': 'export {};\n',
        'user.d.ts': '/** @reflection never */ export interface User {\n    id: number;\n}\n',
        'app.js': `const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];\n` +
          "const __Ωbla = ['bla', '&w!y'];\n" +
          'export { __Ωbla as __Ωbla };\n' +
          "export const hi = 'yes';\n" +
          `const __Ωa = [() => __ΩPartial, 'User', 'a', '"w"o!"w#y'];\n` +
          "typeOf([], [() => __Ωa, 'n!']);\n",
        'app.d.ts': 'export type bla = string;\n' +
          'export declare const hi = "yes";\n' +
          'export declare type __Ωbla = any[];\n'
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1927:13)

    console.debug
      Transform file with reflection=default took 91ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/app.ts.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/user.ts.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      {
        'app.ts.js': `const __ΩPartial = ['T', 'Partial', 'l+e#!e"!fRb!Pde"!gN#"w"y'];\n` +
          `const __Ωa = [() => __ΩPartial, 'a', '!o!"w"y'];\n` +
          "typeOf([], [() => __Ωa, 'n!']);\n" +
          'export {};\n',
        'app.ts.d.ts': 'export {};\n',
        'user.ts.js': `const __ΩUser = ['id', 'User', 'P\\'4!Mw"y'];\n` +
          'export { __ΩUser as __ΩUser };\n',
        'user.ts.d.ts': 'export interface User {\n' +
          '    id: number;\n' +
          '}\n' +
          'export declare type __ΩUser = any[];\n'
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1940:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      const __ΩClassType = ['T', 'args', 'new', 'ClassType', '"c!PP"@2"e#!1#Mw$y'];
      export { __ΩClassType as __ΩClassType };
      const __ΩAbstractClassType = ['T', 'args', 'new', 'AbstractClassType', '"c!P"@2"e"!/#w$y'];
      export { __ΩAbstractClassType as __ΩAbstractClassType };
      const __ΩExtractClassType = ['T', () => __ΩClassType, 'ExtractClassType', 'l:e"!R!RPde#!h!!o""qk#\'QRb!Pde"!p)w#y'];
      export { __ΩExtractClassType as __ΩExtractClassType };

      at Object.<anonymous> (tests/compiler.spec.ts:1961:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩType = ['add', 'delete', 'Type', 'PC!C"Bw#'];
      var Type;
      (function (Type) {
          Type[Type["add"] = 0] = "add";
          Type[Type["delete"] = 1] = "delete";
      })(Type || (Type = {}));
      const __ΩMessage = [1, 'type', 'id', 'Message', 'Pa!4"\'4#Mw$y'];
      return typeOf([], [() => __ΩMessage, 'n!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1980:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type {
        kind: 30,
        id: undefined,
        types: [
          { kind: 32, type: [Object], name: 'type', parent: [Object] },
          { kind: 32, type: [Object], name: 'id', parent: [Object] }
        ],
        annotations: {},
        typeName: undefined,
        typeArguments: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1982:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩA = ['A', 'PMw!y'];
      class Clazz {
      }
      Clazz.__type = [() => __ΩA, 'Clazz', '5n!x"w"'];
      return typeOf([], [() => Clazz, 'P7!']);

      at Object.<anonymous> (tests/compiler.spec.ts:1995:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type {
        kind: 20,
        id: undefined,
        classType: [class Clazz] {
          __type: [
            [Function (anonymous)],
            'Clazz',
            '5n!x"w"',
            __unpack: [Object],
            __type: [Object]
          ]
        },
        types: [],
        typeArguments: undefined,
        implements: [
          {
            kind: 30,
            typeName: 'A',
            inlined: true,
            id: 148,
            types: [],
            annotations: {}
          }
        ],
        typeName: undefined
      }

      at Object.<anonymous> (tests/compiler.spec.ts:1997:13)

    console.debug
      Transform file with reflection=default took 137ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js const __ΩReturnType = ['T', 'args', '', 'ReturnType', 'l>e"!R"RPde#!P"@2"h"!/#qk#\'QRb!Pde"!p)w$y'];
      const __ΩPlaceholder = ['T', '', 'Placeholder', 'b!Pe"!/"w#y'];
      const __ΩResolve = ['T', () => __ΩReturnType, "_", 'Resolve', 'b!e!!.#fo""w$y'];
      const __ΩReplace = ['T', 'R', () => __ΩPlaceholder, '_', 'Replace', 'b!b"Pe"!Pe#"o#"4$MKw%y'];
      const __ΩMethods = ['T', () => Query, 'Methods', 'l@!Re$!RPe#!P"7"gqk#%QRPde#!p)Rb!Pde"!gN8!w#y'];
      class Query {
          constructor(classSchema, session, resolver) {
              this.session = session;
              this.resolver = resolver;
          }
          myMethod() {
              return undefined;
          }
          async callOnFetchEvent(query) {
              return undefined;
          }
          async find() {
              return undefined;
          }
      }
      Query.__type = ['T', '', '_', 'classSchema', 'session', 'resolver', 'constructor', () => __ΩMethods, () => Query, 'myMethod', () => Query, 'query', 'callOnFetchEvent', () => __ΩResolve, 'find', 'Query', 'b!Pe"!/"3#P!2$!2%<!2&<"0\'PPe#!7)o("0*PP"7+2,!`0-<P!o."F`0/5w0'];
      return typeOf([], [() => Query, 'P"7!']);

      at Object.<anonymous> (tests/compiler.spec.ts:2037:13)

    console.debug
      Transform file with reflection=default took 129ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      type {
        kind: 20,
        typeName: undefined,
        typeArguments: undefined,
        id: undefined,
        classType: [class Query] {
          __type: [
            'T',
            '',
            '_',
            'classSchema',
            'session',
            'resolver',
            'constructor',
            [Function (anonymous)],
            [Function (anonymous)],
            'myMethod',
            [Function (anonymous)],
            'query',
            'callOnFetchEvent',
            [Function (anonymous)],
            'find',
            'Query',
            'b!Pe"!/"3#P!2$!2%<!2&<"0\'PPe#!7)o("0*PP"7+2,!`0-<P!o."F`0/5w0',
            __unpack: [Object]
          ]
        },
        types: [
          {
            kind: 15,
            type: [Object],
            name: '_',
            visibility: 0,
            parent: [Object]
          },
          {
            kind: 16,
            parent: [Object],
            visibility: 0,
            name: 'constructor',
            return: [Object],
            parameters: [Array]
          },
          {
            kind: 15,
            name: 'session',
            visibility: 1,
            default: undefined,
            type: [Object],
            parent: [Object]
          },
          {
            kind: 15,
            name: 'resolver',
            visibility: 1,
            default: undefined,
            type: [Object],
            parent: [Object]
          },
          {
            kind: 16,
            parent: [Object],
            visibility: 0,
            name: 'myMethod',
            return: [Object],
            parameters: []
          },
          {
            kind: 16,
            parent: [Object],
            visibility: 1,
            name: 'callOnFetchEvent',
            return: [Object],
            parameters: [Array]
          },
          {
            kind: 16,
            parent: [Object],
            visibility: 0,
            name: 'find',
            return: [Object],
            parameters: []
          }
        ],
        arguments: [ { kind: 1, parent: [Object] } ]
      }

      at Object.<anonymous> (tests/compiler.spec.ts:2039:13)

    console.debug
      Transform file with reflection=default took 0ms (esm) /private/tmp/asdasd/deepkit-framework/packages/type/tests/module.ts via config none.

      at debug (../type-compiler/src/debug.ts:11:17)

    console.log
      js function test() {
      }
      test.__type = ['test', 'P"/!'];
      const __ΩUser = ['User', 'PMw!y'];

      at Object.<anonymous> (tests/compiler.spec.ts:2053:13)

    console.log
      test [Function (anonymous)]

      at test (tests/compiler.spec.ts:2063:17)

    console.log
      query []

      at Database.query (tests/compiler.spec.ts:2068:21)


Test Suites: 40 passed, 40 total
Tests:       1818 passed, 1818 total
Snapshots:   2 passed, 2 total
Time:        9.624 s
Ran all test suites matching /packages\/type\//i.
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment