Skip to content

Instantly share code, notes, and snippets.

[Unit]
## Unit configuration.
# Description=
# Documentation=
# Requires=
# Requisite=
# Wants=
# BindsTo=
# PartOf=
# Conflicts=
https://github.com/electricessence/TypeScript.NET
https://github.com/Microsoft/TypeScript/issues/1573
https://github.com/gcanti/tcomb
https://github.com/pelotom/runtypes
https://github.com/gcanti/io-ts
https://github.com/fabiandev/ts-runtime
https://fabiandev.github.io/ts-runtime/
https://github.com/ccorcos/ts-validator
https://www.npmjs.com/package/ts-dynamic-type-checker
https://www.npmjs.com/package/ts-runtime
http://www.olioapps.com/blog/checking-types-real-world-typescript/
https://github.com/Microsoft/TypeScript/issues/15117
https://github.com/Microsoft/TypeScript/issues/4183
https://github.com/Microsoft/TypeScript/commit/4d14c9fb1da5cf6f5db024e8b25c87336d834103
https://github.com/Microsoft/TypeScript/issues/7599
https://github.com/Microsoft/TypeScript/issues/15794#issuecomment-301170109
https://github.com/Microsoft/TypeScript/issues/12215#issuecomment-307871458
https://github.com/Microsoft/TypeScript/pull/21316
type Defaultize<T, Defaults> =
& Partial<Pick<T, Extract<keyof T, keyof Defaults>>>
& Pick<T, Exclude<keyof T, keyof Defaults>>;
/* Amber */
/* Configuration */
:root {
--amber-625: #ff4e00;
--amber-620: #ff6300;
--amber-618: #ff6900;
--amber-615: #ff7500;
--amber-610: #ff8900;
{
"C_Cpp.intelliSenseEngine": "Tag Parser",
"editor.cursorBlinking": "phase",
"editor.cursorStyle": "block",
"editor.cursorWidth": 2,
"editor.emptySelectionClipboard": false,
"editor.find.autoFindInSelection": true,
"editor.fontFamily": "Iosevka, Consolas, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 14,
// export type Readonly<T> = {
// readonly [P in keyof T]: T[P];
// }
// export type Partial<T> = {
// [P in keyof T]?: T[P];
// }
// export type Pick<T, K extends keyof T> = {
// [P in K]: T[P];
{
"compilerOptions": {
/* Allow JavaScript files to be compiled. */
// "allowJs": false,
/*
* Allow default imports from modules with no default export.
* This does not affect code emit, just typechecking.
*/
// "allowSyntheticDefaultImports": false,