From 207e7cee0bb9b5d0c66eceba85accfbf04226103 Mon Sep 17 00:00:00 2001 From: syumai Date: Tue, 9 Jul 2019 00:17:50 +0900 Subject: [PATCH] Enable strict mode --- .gitignore | 2 +- Makefile | 2 +- dejs.ts | 8 ++++---- testdata/tsconfig.json | 9 +++++++++ 4 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 testdata/tsconfig.json diff --git a/.gitignore b/.gitignore index 24a76df..7dd2dbb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -tsconfig.json +/tsconfig.json node_modules package-lock.json package.json diff --git a/Makefile b/Makefile index bf283de..11db682 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ .PHONY: test test: - deno run --allow-read dejs_test.ts + deno -c ./testdata/tsconfig.json --allow-read dejs_test.ts diff --git a/dejs.ts b/dejs.ts index 7a251fe..e8e3226 100644 --- a/dejs.ts +++ b/dejs.ts @@ -128,14 +128,14 @@ export async function compile(reader: Reader): Promise