Files
DefinitelyTyped/types/recase/index.d.ts
Mikal Madsen ea345679fb Add Recase typings (#15744)
* Add Recase typings

* Add relaxed-json type definitions

* Update Recase and Relaxed-JSON types as per PR review

* Update Recase and Relaxed-JSON types
2017-05-01 15:19:16 -07:00

15 lines
407 B
TypeScript

// Type definitions for Recase 1.0
// Project: https://www.npmjs.com/package/recase
// Definitions by: Mikal Madsen <https://github.com/18steps>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface Recase {
camelCopy(orig: any): any;
snakeCopy(orig: any): any;
}
export function create(opts: {
exceptions?: {
[origKey: string]: string;
};
}): Recase;