• About Cacher
  • Web App
  • Download
  • Sign In
  • Sign Up

Cacher is the code snippet organizer for pro developers

We empower you and your team to get more done, faster

Learn More
cyberfly
2/23/2018 - 4:02 AM

Angular declare empty object

https://stackoverflow.com/questions/43009096/how-to-properly-and-simply-declare-an-object-in-angular2

https://blog.angular-university.io/typescript-2-type-system-how-does-it-really-work-when-are-two-types-compatible-its-actually-quite-different-than-other-type-systems/

home.ts
content_copyfile_download
export class HomePage {

let user:any = {};
formData: Object = {};

constructor(){
  
}


}
Apps
  • Web App
  • macOS
  • Windows
  • Linux - AppImage
  • Linux - Snap
Links
  • Sign Up
  • Sign In
  • About
  • Pricing
Support
  • Help Center
  • Contact Us
  • Status
Resources
  • Documentation
  • Blog
  • Terms of Use
  • Privacy Policy
© 2025 Penguin Labs, LLC
All Rights Reserved