Add type declarations for unorm: both importable module and ambient var

This commit is contained in:
Christopher Brown
2015-05-09 11:57:58 -05:00
parent b3834d886a
commit 5ea1c5b513
+14
View File
@@ -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;
}