You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the TypeScript instructions getting AVA working with TypeScript at runtime should be just installing ts-node and typescript and then adding configuration:
Uncaught exception in test/ava/test.ts
/Users/Storm/dev/ianstormtaylor/nucleus/test/ava/test.ts:1
import test from 'ava';
^^^^^^
SyntaxError: Cannot use import statement outside a module
Might there need to be more done as part of the configuration that isn't documented?
The text was updated successfully, but these errors were encountered:
Based on the TypeScript instructions getting AVA working with TypeScript at runtime should be just installing
ts-node
andtypescript
and then adding configuration:But this results in errors for the
import
syntax:Might there need to be more done as part of the configuration that isn't documented?
The text was updated successfully, but these errors were encountered: