mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
@@ -0,0 +1,12 @@
|
||||
/// <reference path="./camelcase.d.ts" />
|
||||
|
||||
import camelCase from 'camelcase';
|
||||
|
||||
camelCase('foo-bar');
|
||||
camelCase('foo_bar');
|
||||
camelCase('Foo-Bar');
|
||||
camelCase('--foo.bar');
|
||||
camelCase('__foo__bar__');
|
||||
camelCase('foo bar');
|
||||
camelCase('foo', 'bar');
|
||||
camelCase('__foo__', '--bar');
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// Type definitions for camelcase
|
||||
// Project: https://github.com/sindresorhus/camelcase
|
||||
// Definitions by: Sam Verschueren <https://github.com/samverschueren>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "camelcase" {
|
||||
export default function camelcase(...args: string[]): string;
|
||||
}
|
||||
Reference in New Issue
Block a user