From 62146ff52c8c4df33e553796c9d8241e48b0a5b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Rodr=C3=ADguez?= Date: Tue, 4 May 2021 11:05:24 +0200 Subject: [PATCH] changed to strict mode, updated some imports, version updated to v1.5.1 --- package.json | 2 +- tools/fs.ts | 6 +++--- tsconfig.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index d526748..af785de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@a2r/fs", - "version": "1.5.0", + "version": "1.5.1", "description": "A2R file system library", "main": "./index.js", "types": "./index.d.ts", diff --git a/tools/fs.ts b/tools/fs.ts index b94c01d..ae1c8a4 100644 --- a/tools/fs.ts +++ b/tools/fs.ts @@ -1,6 +1,6 @@ -import fs from 'fs'; -import util from 'util'; -import path from 'path'; +import * as fs from 'fs'; +import * as util from 'util'; +import * as path from 'path'; import originalRimraf from 'rimraf'; /** diff --git a/tsconfig.json b/tsconfig.json index 888d794..300e36d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,7 +24,7 @@ "es2015", "es2016" ], - "strict": false, + "strict": true, "forceConsistentCasingInFileNames": true, "esModuleInterop": true, "resolveJsonModule": true,