Eric Anderson
Eric Anderson
pull request? :)
Why not do something more like `{ __type: string, ...typesProperties }`?
The proposed behavior is growing on me. I see the argument about ```ts type bar = foo & { baz: number } ``` but that could also be special cased.
Any progress on this?
Hello. I have updated to the beta to fix the issues with the system restarting and the PR referenced/beta did indeed resolve that. I also attempted to turn off at...
We do not need more code to create simple objects
Also that defaults object solution wont even work: http://www.typescriptlang.org/play/#src=interface%20MyObjectType%20%7B%0A%20%20id%3A%20string%3B%0A%20%20myField%3A%20string%5B%5D%3B%0A%7D%0A%0Afunction%20createMyObjectType(%7B%20id%2C%20myField%20%3D%20%5B%5D%20%7D%3A%20MyObjectType)%3A%20MyObjectType%20%7B%0A%20%20%20return%20%7B%20id%2C%20myField%20%7D%3B%0A%7D%0A%0A%0AcreateMyObjectType(%7B%0A%20%20%20%20id%3A%20%22hi%22%0A%7D)%3B%0A
Copyright (c) 2013 [INSERT YOUR NAME] MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),...
See #8