Skip to content

Instantly share code, notes, and snippets.

@four43
Created November 15, 2016 03:50
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 four43/a2619912e0b8e5a11f00f74c98886d23 to your computer and use it in GitHub Desktop.
Save four43/a2619912e0b8e5a11f00f74c98886d23 to your computer and use it in GitHub Desktop.
/**
* ts-node config for overriding base tsconfig
*
* Usage:
* mocha --compilers ts:./test/ts-node-test.js,tsx:./test/ts-node-test.js ./test/*
* (When placed in the test directory)
*/
require('ts-node').register({ compilerOptions: Object.assign(require('../tsconfig.json').compilerOptions, {
"noImplicitAny": false,
"strictNullChecks": false
}) });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment