mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
add decamelize
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
/// <reference path="./decamelize.d.ts" />
|
||||
|
||||
import decamelize = require('decamelize');
|
||||
|
||||
decamelize('unicornRainbow');
|
||||
decamelize('unicornRainbow', '-');
|
||||
Vendored
+10
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user