mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
Add type declarations for unorm: both importable module and ambient var
This commit is contained in:
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
declare module unorm {
|
||||
interface Static {
|
||||
nfd(str: string): string;
|
||||
nfkd(str: string): string;
|
||||
nfc(str: string): string;
|
||||
nfkc(str: string): string;
|
||||
}
|
||||
}
|
||||
|
||||
declare var unorm: unorm.Static;
|
||||
|
||||
declare module "unorm" {
|
||||
export = unorm;
|
||||
}
|
||||
Reference in New Issue
Block a user