Hi,
I'm migrating my angular 1.x code into TypeScript, and there seems to be no type definition for angular-http-status.
Typically: @types/angular-http-status would be available.
The pattern to follow could be:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/angular-ui-bootstrap/index.d.ts
A probably type for HttpCodes constant could be:
interface IHttpCodes {
CONTINUE number;
SWITCHING_PROTOCOLS: number;
...
..
.
}
If the type definition file would be available, it would supper easly to consume/auto-complete codes of the HttpCodes constant.
How add a new Type is shown here :
https://github.com/DefinitelyTyped/DefinitelyTyped
-Thanks,
Igor