Answers for "typescript any key of object"

3

typescript object key from other object

const object: {
  [K in keyof MyInterface]: any
} = {}
Posted by: Guest on February-10-2021
1

typescript object of type key string and value any

let myObjHavingStringKeyAndStringValue : {[key: string]: string}
Posted by: Guest on April-04-2022

Code answers related to "typescript any key of object"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language