Skip to content

Instantly share code, notes, and snippets.

@Tnifey
Created May 20, 2020 06:24
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 Tnifey/5339e42b92348ab45dc96cca27ce9776 to your computer and use it in GitHub Desktop.
Save Tnifey/5339e42b92348ab45dc96cca27ce9776 to your computer and use it in GitHub Desktop.
denon - config - example
{
"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
}
function Decorator() {
return (target: any) => {
console.log('Decorator loaded', target);
};
}
@Decorator()
class Entity {
username?: string;
}
{
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment