Skip to content

Add noop, notImplemented, and notYetImplemented helpers#11737

Merged
2 commits merged into
masterfrom
not_implemented
Oct 20, 2016
Merged

Add noop, notImplemented, and notYetImplemented helpers#11737
2 commits merged into
masterfrom
not_implemented

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Oct 19, 2016

These are common patterns I noticed while looking at unused parameters.

@ghost ghost force-pushed the not_implemented branch from 7976c80 to 5e7e542 Compare October 19, 2016 21:22
Comment thread src/compiler/core.ts Outdated
}

/** A function which isn't implemented, but should be eventually. */
export function notYetImplemented(): never {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would just use notImplemented.

@ghost ghost merged commit aabfcfb into master Oct 20, 2016
@ghost ghost deleted the not_implemented branch October 20, 2016 17:43
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants