Konstantin Kutsyllo

Results 41 comments of Konstantin Kutsyllo

> Here I would like Native to not be "an object" or "an array", but refer to the global objects themselves. Is this even possible? Yes, it's possible, you should...

And you have to declare `SugarConstructor` for sugar static options and methods.

In TS you have to split on class declaration into two parts: one for the static methods and properties and one for the the instance methods and properties. For example:...

http://www.typescriptlang.org/docs/handbook/interfaces.html#difference-between-the-static-and-instance-sides-of-classes

You want to create dts as a standalone module or add it to main repo?

How can I join to development to help you with this feature?

IMHO, the best way is to include module (not extended) declaration file directly into Sugar repo, and add declaration for extended mode to typings.

> Ah I see, so split into 2 declarations? Yep) > Or better question, is there a good reason to check any into the repo when they can be built...

> Is it customary to put them in the root directory or a subfolder? What about the file naming? No limitations, but usually `.d.ts.` files placed in the root directory...

> OK, in addition to the main declarations in the repo, I have also added declarations for each of the modularized npm packages (sugar-array, sugar-date, etc) Not bad) > Is...