Merge pull request #8432 from SamVerschueren/decamelize

add decamelize
This commit is contained in:
Masahiro Wakame committed 2016-03-11 00:07:54 +09:00
commit 87f74fbc6a
2 files changed
+16

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
/// <reference path="./decamelize.d.ts" />
import decamelize = require('decamelize');
decamelize('unicornRainbow');
decamelize('unicornRainbow', '-');
+10
View File
@@ -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" {
function decamelize(input: string, separator?: string): string;
namespace decamelize {}
export = decamelize;
}