mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 12:49:06 +00:00
Send to zulip
This commit is contained in:
20
aws/lambda-nodejs18.x/UpdateZulipStreams/node_modules/decamelize/index.d.ts
generated
vendored
Normal file
20
aws/lambda-nodejs18.x/UpdateZulipStreams/node_modules/decamelize/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
Convert a camelized string into a lowercased one with a custom separator: `unicornRainbow` → `unicorn_rainbow`.
|
||||
|
||||
@param string - The camelcase string to decamelize.
|
||||
@param separator - The separator to use to put in between the words from `string`. Default: `'_'`.
|
||||
|
||||
@example
|
||||
```
|
||||
import decamelize = require('decamelize');
|
||||
|
||||
decamelize('unicornRainbow');
|
||||
//=> 'unicorn_rainbow'
|
||||
|
||||
decamelize('unicornRainbow', '-');
|
||||
//=> 'unicorn-rainbow'
|
||||
```
|
||||
*/
|
||||
declare function decamelize(string: string, separator?: string): string;
|
||||
|
||||
export = decamelize;
|
||||
Reference in New Issue
Block a user