3.0.15 • Published 1 year ago

@types/ember__string v3.0.15

Weekly downloads
32,146
License
MIT
Repository
github
Last release
1 year ago

Installation

npm install --save @types/ember__string

Summary

This package contains type definitions for @ember/string (https://www.npmjs.com/package/@ember/string).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ember__string/v2.

index.d.ts

// Type definitions for non-npm package @ember/string 2.0
// Project: https://www.npmjs.com/package/@ember/string
// Definitions by: Mike North <https://github.com/mike-north>
//                 Chris Krycho <https://github.com/chriskrycho>
//                 Dan Freeman <https://github.com/dfreeman>
//                 James C. Davis <https://github.com/jamescdavis>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7

import { htmlSafe as templateHtmlSafe, isHTMLSafe as templateIsHTMLSafe } from '@ember/template';

export function camelize(str: string): string;
export function capitalize(str: string): string;
export function classify(str: string): string;
export function dasherize(str: string): string;
export function decamelize(str: string): string;
export function loc(template: string, args?: string[]): string;
export function underscore(str: string): string;
export function w(str: string): string[];

declare module '@ember/string' {
  function htmlSafe(...args: Parameters<typeof templateHtmlSafe>): ReturnType<typeof templateHtmlSafe>;
  function isHTMLSafe(...args: Parameters<typeof templateIsHTMLSafe>): ReturnType<typeof templateIsHTMLSafe>;
}

Additional Details

Credits

These definitions were written by Mike North, Chris Krycho, Dan Freeman, and James C. Davis.

2.0.7

1 year ago

3.0.15

1 year ago

2.0.6

1 year ago

3.0.14

1 year ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

3.0.12

2 years ago

3.0.13

2 years ago

3.0.11

2 years ago

2.0.1

2 years ago

3.0.10

3 years ago

3.0.9

3 years ago

2.0.0

3 years ago

3.16.3

4 years ago

3.16.2

4 years ago

3.16.1

5 years ago

3.16.0

5 years ago

3.0.8

5 years ago

3.0.7

6 years ago

3.0.6

6 years ago

3.0.5

6 years ago

3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago