how do i define a type of object property without using an interface?

const fpsObject = {
  maxSamples: 100,
  tickIndex: 0,
  tickSum: 0,
  tickList: Array<number>()
}
console.log(fpsObject)

// You can use This way Also.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top