Skip to content

Commit

Permalink
tsconfig update
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Mar 21, 2023
1 parent 478971d commit 15b705d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions bin/0serve.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node
import http from 'http'
import path from 'path'
import fs from 'fs'
import * as http from 'http'
import * as path from 'path'
import * as fs from 'fs'
import * as env from '../environment.js'
import * as number from '../number.js'
import * as logging from 'lib0/logging'
Expand Down
2 changes: 1 addition & 1 deletion bin/gendocs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-ignore
import jsdoc from 'jsdoc-api'
import fs from 'fs'
import * as fs from 'fs'

const firstTagContentRegex = /<\w>([^<]+)<\/\w>([^]*)/
const jsdocReturnRegex = /\* @return {(.*)}/
Expand Down
2 changes: 1 addition & 1 deletion bin/gentesthtml.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env node
import fs from 'fs'
import * as fs from 'fs'
import * as object from '../object.js'
import * as env from '../environment.js'

Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import fs from 'fs'
import * as fs from 'fs'

const files = fs.readdirSync('./').filter(file => /(?<!(test|config))\.js$/.test(file))

Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "ES2021",
"lib": ["ES2021", "dom"],
"module": "node16",
"target": "ES2020",
"lib": ["ES2020", "dom"],
"module": "ES2020",
"allowJs": true,
"checkJs": true,
"declaration": true,
Expand Down

0 comments on commit 15b705d

Please sign in to comment.