issues Search Results · repo:dphilipson/typescript-string-enums language:TypeScript
Filter by
14 results
(51 ms)14 results
indphilipson/typescript-string-enums (press backspace or delete to remove)TypeScript 2.4 will introduce native string enums
https://github.com/Microsoft/TypeScript/wiki/What s-new-in-TypeScript#string-enums
Will this library be obsolete? If not, what are the pros/cons of this ...
benny-medflyt
- 3
- Opened on Jun 22, 2017
- #26
I found an issue with your usage of mapped types to output a string literal union type whereby it cannot be used safely
in as many places as a regular string literal union type. I don t think it s the ...
seansfkelley
- Opened on Jun 15, 2017
- #25
source-map-loader emits warning when building typescript-string-enums
WARNING in ./~/typescript-string-enums/dist/index.js
(Emitted value instead of an instance of Error) Cannot find source file ../src/index.ts ...
neytema
- 1
- Opened on May 25, 2017
- #23
I have one situation here :-
Below is my enum:-
export const ColorCodes = Enum({
ES_IN_1: RED ,
ES_IN_2: YELLOW ,
});
Now i get a string code dynamically from server :- ES_IN_1 or ES_IN_2 . I ...
Rj-s
- 8
- Opened on May 18, 2017
- #21
I was not able to use ngSwitch using this enum method as the ngSwitch expression.
joe307bad
- 2
- Opened on May 11, 2017
- #20
I just installed this package as it seems to do exactly what I need, but typescript complains with TS2304: Cannot find
name object on line 7 of index.d.ts, which presumably corresponds to
https://github.com/dphilipson/typescript-string-enums/blob/master/src/index.ts#L18. ...
JorgeLGonzalez
- 3
- Opened on Apr 11, 2017
- #17
for (const prop in e) {
if (hasOwnProperty(e, prop)) {
result.push(prop);
}
}
for (const [prop, value] of Object.entries(e)) {
...
monolithed
- 4
- Opened on Mar 30, 2017
- #15
When I add typescript-string-enums 0.3.0 to package.json, I receive this error: npm ERR! cb() never called! after trying
npm install
astashko
- 3
- Opened on Mar 23, 2017
- #13
I have an Enum and I m trying to map the values to something else:
const UrlCategory = Enum(
pro , // .com, .co.xyz, .biz
geek , // .net, .io
perso , // .me, .name
other ,
special , // not internet, ...
Offirmo
- 5
- Opened on Mar 22, 2017
- #8

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.