summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/yargs-parser/node_modules/camelcase/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/yargs-parser/node_modules/camelcase/index.d.ts')
-rw-r--r--deps/npm/node_modules/yargs-parser/node_modules/camelcase/index.d.ts63
1 files changed, 0 insertions, 63 deletions
diff --git a/deps/npm/node_modules/yargs-parser/node_modules/camelcase/index.d.ts b/deps/npm/node_modules/yargs-parser/node_modules/camelcase/index.d.ts
deleted file mode 100644
index 58f2069adc..0000000000
--- a/deps/npm/node_modules/yargs-parser/node_modules/camelcase/index.d.ts
+++ /dev/null
@@ -1,63 +0,0 @@
-declare namespace camelcase {
- interface Options {
- /**
- Uppercase the first character: `foo-bar` → `FooBar`.
-
- @default false
- */
- readonly pascalCase?: boolean;
- }
-}
-
-declare const camelcase: {
- /**
- Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`.
-
- @param input - String to convert to camel case.
-
- @example
- ```
- import camelCase = require('camelcase');
-
- camelCase('foo-bar');
- //=> 'fooBar'
-
- camelCase('foo_bar');
- //=> 'fooBar'
-
- camelCase('Foo-Bar');
- //=> 'fooBar'
-
- camelCase('Foo-Bar', {pascalCase: true});
- //=> 'FooBar'
-
- camelCase('--foo.bar', {pascalCase: false});
- //=> 'fooBar'
-
- camelCase('foo bar');
- //=> 'fooBar'
-
- console.log(process.argv[3]);
- //=> '--foo-bar'
- camelCase(process.argv[3]);
- //=> 'fooBar'
-
- camelCase(['foo', 'bar']);
- //=> 'fooBar'
-
- camelCase(['__foo__', '--bar'], {pascalCase: true});
- //=> 'FooBar'
- ```
- */
- (input: string | ReadonlyArray<string>, options?: camelcase.Options): string;
-
- // TODO: Remove this for the next major release, refactor the whole definition to:
- // declare function camelcase(
- // input: string | ReadonlyArray<string>,
- // options?: camelcase.Options
- // ): string;
- // export = camelcase;
- default: typeof camelcase;
-};
-
-export = camelcase;