Skip to content

Commit

Permalink
Changes TypeScript module to node16
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Aug 3, 2022
1 parent 896cad3 commit e3de354
Show file tree
Hide file tree
Showing 4 changed files with 713 additions and 729 deletions.
4 changes: 2 additions & 2 deletions lib/wav/BwfChunk.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { IGetToken } from 'strtok3/lib/core.js';
import { IGetToken } from 'strtok3/core';
import * as Token from 'token-types';
import { stripNulls } from '../common/Util';
import { stripNulls } from '../common/Util.js';

export interface IBroadcastAudioExtensionChunk {
description: string;
Expand Down
2 changes: 1 addition & 1 deletion test/test-file-matroska.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { assert, expect, use } from 'chai';
import * as mm from '../lib/index.js';
import { samplePath } from './util.js';

import * as chaiAsPromised from 'chai-as-promised';
import chaiAsPromised from 'chai-as-promised';

use(chaiAsPromised);

Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"inlineSources": false,
"module": "ES2020",
"moduleResolution": "node",
"module": "node16",
"moduleResolution": "node16",
"target": "ES2019",
"esModuleInterop": true,
"baseUrl": ".",
Expand Down
Loading

0 comments on commit e3de354

Please sign in to comment.