Skip to content

Instantly share code, notes, and snippets.

@gegenschall
Created October 21, 2022 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gegenschall/f09683b9c0b80f0e00db68dea618432e to your computer and use it in GitHub Desktop.
Save gegenschall/f09683b9c0b80f0e00db68dea618432e to your computer and use it in GitHub Desktop.
AutoMapper #514 repro
import { AutoMap } from '@automapper/classes';
export class TestClass {
constructor (value: string) {
this.value = value;
}
@AutoMap()
value: string;
}
{
"name": "automapper-test",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"license": "MIT",
"devDependencies": {
"typescript": "^4.8.4"
},
"scripts": {
"build": "tsc -b"
},
"dependencies": {
"@automapper/classes": "^8.7.6",
"@automapper/core": "^8.7.6"
}
}
{
"compilerOptions": {
"module": "Node16",
"moduleResolution": "Node16",
"target": "ES2021",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"strict": true,
"allowSyntheticDefaultImports": true,
"skipLibCheck": true,
"noImplicitAny": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"baseUrl": ".",
"rootDir": ".",
"outDir": "dist/"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment