Sha256: 1a923815c127b27f7f375c143bb0d9313ccf3c66478d5d2965375eeb7da72a4c

Contents?: true

Size: 439 Bytes

Versions: 25

Compression:

Stored size: 439 Bytes

Contents

/**
Create a type with the keys of the given type changed to `string` type.

Use-case: Changing interface values to strings in order to use them in a form model.

@example
```
import type {Stringified} from 'type-fest';

type Car {
	model: string;
	speed: number;
}

const carForm: Stringified<Car> = {
	model: 'Foo',
	speed: '101'
};
```

@category Object
*/
export type Stringified<ObjectType> = {[KeyType in keyof ObjectType]: string};

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.52 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.51 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.50 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.49 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.48 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.47 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.46 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.45 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.44 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.43 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.42 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.41 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.40 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.39 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.38 node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.32 node_modules/boxen/node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.31 node_modules/boxen/node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.30 node_modules/boxen/node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.29 node_modules/boxen/node_modules/type-fest/source/stringified.d.ts
immosquare-cleaner-0.1.28 node_modules/boxen/node_modules/type-fest/source/stringified.d.ts