Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Commit ef5aff4

Browse files
committed
fix(ts-errors): Resolve small typescript errors
Type 'String' is not assignable to type 'string'. 'string' is a primitive, but 'String' is a wrapper object. Prefer using 'string' when possible.
1 parent c3bf314 commit ef5aff4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

urlhandler.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export interface UrlHandlerCallback { (data: any): void; }
22
export interface AppURL {
3-
path: String;
4-
params: Map<String, String>;
3+
path: string;
4+
params: Map<string, string>;
55
}
66
export function handleOpenURL(handler: UrlHandlerCallback): void;

0 commit comments

Comments
 (0)