Skip to content

Commit f8b4068

Browse files
committed
fix strict null check
1 parent c51f346 commit f8b4068

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/common/uri.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ const encodeTable: { [ch: number]: string } = {
465465
};
466466

467467
function encodeURIComponentFast(uriComponent: string, allowSlash: boolean): string {
468-
let res: string = undefined;
468+
let res: string | undefined = undefined;
469469
let nativeEncodePos = -1;
470470

471471
for (let pos = 0; pos < uriComponent.length; pos++) {

0 commit comments

Comments
 (0)