Skip to content

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/std/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,12 +2253,12 @@ declare class String implements Iterable<string> {
22532253
charCodeAt(index: i32): i32;
22542254
codePointAt(index: i32): i32;
22552255
concat(other: string): string;
2256-
endsWith(other: string): bool;
2256+
endsWith(other: string, position?: i32): bool;
22572257
indexOf(other: string, fromIndex?: i32): i32;
22582258
lastIndexOf(other: string, fromIndex?: i32): i32;
22592259
localeCompare(other: string): i32;
22602260
includes(other: string): bool;
2261-
startsWith(other: string): bool;
2261+
startsWith(other: string, position?: i32): bool;
22622262
substr(start: i32, length?: i32): string;
22632263
substring(start: i32, end?: i32): string;
22642264
trim(): string;

0 commit comments

Comments
 (0)