Sam Hulick

- Total activity 84
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 26
-
Sam Hulick created a post, How to refactor default export?
Let's say I have this in a JS file: export default function myFunc() {} How do I refactor this to remove "default" so that all the files importing this function will change to: import { myFunc } fr... -
-
-
-
-
Sam Hulick created a post, No TypeScript doc hints for function parameters?
This is from the official TypeScript site's playground (below). Note how I can make comments for function parameters, and autocomplete will give me hints. WebStorm doesn't do this. In fact, it sho... -
Sam Hulick commented, -
Sam Hulick created a post, Anyone else having trouble with the TypeScript engine apparently stopping?
I noticed that, randomly, TypeScript will stop type-checking my code. It'll let me pass values that are type mismatches. If I restart WebStorm, then it's fine. I'm trying to decide whether I should... -
Sam Hulick created a post, No Code Style option for ES6 destructuring
This line goes beyond my 80-char limit: const { fields, omit, folder_id, offset, limit, search, sort, order } = req.query; and formatting the code has no effect on wrapping it or chopping it down. ... -
Sam Hulick commented,