Created
October 21, 2022 06:48
-
-
Save gegenschall/f09683b9c0b80f0e00db68dea618432e to your computer and use it in GitHub Desktop.
AutoMapper #514 repro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AutoMap } from '@automapper/classes'; | |
export class TestClass { | |
constructor (value: string) { | |
this.value = value; | |
} | |
@AutoMap() | |
value: string; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"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