StackOverflow Questions for Tag: keyof

cefn
cefn

Reputation: 3341

Typescript fails to infer key-value pairs from lookup

Score: 1

Views: 70

Answers: 0

Read More
OfirD
OfirD

Reputation: 10510

Calling functions by using indexers created by typeof keyof

Score: 0

Views: 69

Answers: 1

Read More
Unapedra
Unapedra

Reputation: 2403

Typescript - Restrict values of object keys to some possible values, but don't make them mandatory

Score: 1

Views: 253

Answers: 1

Read More
Aron
Aron

Reputation: 9258

In TypeScript, how to get the keys of an object type whose values are of a given type?

Score: 89

Views: 58532

Answers: 3

Read More

Typescript type safe string with dot notation for query nested object

Score: 6

Views: 3671

Answers: 2

Read More
Carasidelt
Carasidelt

Reputation: 49

Why do we use 'as keyof'?

Score: 1

Views: 3148

Answers: 1

Read More
Michael Moreno
Michael Moreno

Reputation: 1359

TS generic type parameters on constructor method

Score: 1

Views: 102

Answers: 0

Read More
Javaddict
Javaddict

Reputation: 576

How to force function parameters to match key and type of object?

Score: 0

Views: 188

Answers: 2

Read More
steveluscher
steveluscher

Reputation: 4228

How to preserve function overloads when mapping over a Typescript interface

Score: 2

Views: 160

Answers: 0

Read More
amdev
amdev

Reputation: 7460

How to use `some` to partially check items in object using TypeScript

Score: 1

Views: 696

Answers: 4

Read More
Alen.Toma
Alen.Toma

Reputation: 4870

how to create keyof of multiType with string appender

Score: 0

Views: 40

Answers: 0

Read More
cefn
cefn

Reputation: 3341

Inferring Generic keys when editing Record

Score: 2

Views: 69

Answers: 1

Read More

Typescript, How to get all property keys by value type from several objects, not only keys that intersect?

Score: 0

Views: 167

Answers: 0

Read More
Subhasish Biswasray
Subhasish Biswasray

Reputation: 28

Is there any way to reassign the type of property of a class according to passing argument type?

Score: 0

Views: 42

Answers: 1

Read More
roivasot
roivasot

Reputation: 65

Typescript: access nested object values through keys defined in array

Score: 0

Views: 1018

Answers: 2

Read More
Qwertiy
Qwertiy

Reputation: 21520

List private property names of the class

Score: 6

Views: 3782

Answers: 1

Read More
Alen.Toma
Alen.Toma

Reputation: 4870

problem NestedKeyof type with circularly references objects

Score: 2

Views: 140

Answers: 1

Read More
forgo
forgo

Reputation: 952

TypeScript Autocomplete Nested Input Object Key on Nested Return Object

Score: 1

Views: 173

Answers: 1

Read More
striderhobbit
striderhobbit

Reputation: 571

TS: object type where every possible value must be taken

Score: 1

Views: 93

Answers: 1

Read More
Wilfried Sugniaux
Wilfried Sugniaux

Reputation: 13

Typescript: variable of type "keyof T" used to index T is resolved as union of T values

Score: 1

Views: 271

Answers: 1

Read More
PreviousPage 2Next