We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f0f926 commit e1bf187Copy full SHA for e1bf187
decamelize/decamelize-tests.ts
@@ -0,0 +1,6 @@
1
+/// <reference path="./decamelize.d.ts" />
2
+
3
+import decamelize = require('decamelize');
4
5
+decamelize('unicornRainbow');
6
+decamelize('unicornRainbow', '-');
decamelize/decamelize.d.ts
@@ -0,0 +1,10 @@
+// Type definitions for decamelize
+// Project: https://github.com/sindresorhus/decamelize
+// Definitions by: Sam Verschueren <https://github.com/samverschueren>
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+declare module "decamelize" {
7
+ function decamelize(input: string, separator?: string): string;
8
+ namespace decamelize {}
9
+ export = decamelize;
10
+}
0 commit comments