Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 843 Bytes

File metadata and controls

38 lines (25 loc) · 843 Bytes

ClientEventInfo

Properties

Name Type
component string
details { [key: string]: any; }
element string

Example

import type { ClientEventInfo } from 'twitter-openapi-typescript-generated'

// TODO: Update the object below with actual values
const example = {
  "component": null,
  "details": null,
  "element": null,
} satisfies ClientEventInfo

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as ClientEventInfo
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]