The Wayback Machine - http://web.archive.org/web/20200714034550/https://github.com/topics/runtime
Skip to content
#

runtime

Here are 608 public repositories matching this topic...

cspotcode
cspotcode commented Feb 14, 2020

Desired Behavior

ts-node has a flag that enables diagnostic logging from ts-node (not TypeScript) to either a file on disk or to stdout. ts-node's API allows passing a reportDiagnostic function that is called for all ts-node diagnostics, allowing even more customizable reporting. This should match the UX of TypeScript's own DiagnosticReporter hooks.

This will enable end-users to se

patroza
patroza commented Mar 28, 2020

🚀 Feature request

Current Behavior

flow(
    SomeIOType.decode,
    ... etc
)

Accessing .decode of a type by passing it, causes lint warning:
warning Avoid referencing unbound methods which may cause unintentional scoping of this @typescript-eslint/unbound-method

However the function is specifically bound: this.decode = this.decode.bind(this);

Desi

brandonkal
brandonkal commented Mar 9, 2020

Error messages should contain the key that is invalid.

I have programs like this. They have many properties so the default error messages are not as helpful as they could be.

const Config = rt.Record({
	domain: rt.String,
	// many more properties
})

export default function platform(cfg: rt.Static<typeof Config>) {
	Config.check(cfg)
	return JSON.stringify(cfg)
}
Vali

Improve this page

Add a description, image, and links to the runtime topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the runtime topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.