Skip to content

Commit

Permalink
fix(types): TextRequest url property (#4211)
Browse files Browse the repository at this point in the history
* chore: update typescript@^5;

* fix(types): set skipLibChecks: false;

* fix(types): fix url property for TextRequest & FragmentRequest;
  • Loading branch information
ondreian committed Jul 12, 2023
1 parent 3a1cfc2 commit 56b33ca
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -4067,7 +4067,7 @@ declare namespace dashjs {
startTime: number;
timescale: number;
type: 'InitializationSegment' | 'MediaSegment' | null;
url: string;
url: string | null;
wallStartTime: number | null;
}

Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -50,7 +50,7 @@
"sinon": "^7.3.2",
"stream-browserify": "^3.0.0",
"string-replace-loader": "^3.0.1",
"typescript": "^4.1.5",
"typescript": "^5.1.3",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1",
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Expand Up @@ -3,6 +3,9 @@
"index.d.ts"
],
"compilerOptions": {
"noImplicitAny": true
"noImplicitAny": true,
"strict": true, /* Enable all strict type-checking options. */
"skipLibCheck": false
}

}

0 comments on commit 56b33ca

Please sign in to comment.