Created
May 20, 2020 06:24
-
-
Save Tnifey/5339e42b92348ab45dc96cca27ce9776 to your computer and use it in GitHub Desktop.
denon - config - example
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
{ | |
"files": ["test.ts"], | |
"quiet": false, | |
"debug": true, | |
"fullscreen": false, | |
"extensions": [".js", ".ts", ".py", ".json"], | |
"interval": 500, | |
"watch": ["test.ts"], | |
"deno_args": [ | |
"--allow-all", | |
"--config=tsconfig.json" | |
], | |
"execute": { | |
".js": ["deno", "run"], | |
".ts": ["deno", "run"] | |
}, | |
"fmt": false, | |
"test": true | |
} |
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
function Decorator() { | |
return (target: any) => { | |
console.log('Decorator loaded', target); | |
}; | |
} | |
@Decorator() | |
class Entity { | |
username?: 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
Show hidden characters
{ | |
"compilerOptions": { | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment