inferred-types
Advanced tools
Comparing version 0.22.0 to 0.22.5
@@ -35,2 +35,3 @@ "use strict"; | ||
createMutationFunction: () => createMutationFunction, | ||
defineProperties: () => defineProperties, | ||
defineType: () => defineType, | ||
@@ -53,3 +54,2 @@ dictToKv: () => dictToKv, | ||
isFunction: () => isFunction, | ||
isLiteral: () => isLiteral, | ||
isNull: () => isNull, | ||
@@ -179,2 +179,22 @@ isNumber: () => isNumber, | ||
// src/utility/dictionary/defineProperties.ts | ||
function defineProperties(obj) { | ||
return { | ||
ro(prop, errorMsg) { | ||
Object.defineProperty(obj, prop, { | ||
writable: false, | ||
set(v) { | ||
const message = errorMsg ? errorMsg(prop, v) : `The ${String( | ||
prop | ||
)} is readonly but an attempt was made to change it's value to "${JSON.stringify( | ||
v | ||
)}"!`; | ||
throw new Error(message); | ||
} | ||
}); | ||
return obj; | ||
} | ||
}; | ||
} | ||
// src/utility/dictionary/dictionaryTransform.ts | ||
@@ -202,3 +222,5 @@ function dictionaryTransform(input, transform) { | ||
function mapValues(obj, valueMapper) { | ||
return Object.fromEntries([...entries(obj)].map(([k, v]) => [k, valueMapper(v)])); | ||
return Object.fromEntries( | ||
[...entries(obj)].map(([k, v]) => [k, valueMapper(v)]) | ||
); | ||
} | ||
@@ -266,3 +288,5 @@ | ||
if (initial && typeof initial !== "object") { | ||
throw new Error("The FluentConfigurator was passed a non-object based value as the initial value. This is not allowed."); | ||
throw new Error( | ||
"The FluentConfigurator was passed a non-object based value as the initial value. This is not allowed." | ||
); | ||
} | ||
@@ -421,4 +445,7 @@ return initial ? api2(initial) : api2({}); | ||
return true; | ||
} else { | ||
return keys(base).every( | ||
(i) => runtimeExtendsCheck(val[i], base[i], narrow) | ||
); | ||
} | ||
return keys(base).every((i) => runtimeExtendsCheck(val[i], base[i], narrow)); | ||
} | ||
@@ -473,9 +500,2 @@ } | ||
// src/utility/runtime/conditions/isLiteral.ts | ||
function isLiteral(...allowed) { | ||
return (i) => { | ||
return !allowed.every((v) => i !== v); | ||
}; | ||
} | ||
// src/utility/runtime/conditions/isNull.ts | ||
@@ -591,3 +611,5 @@ function isNull(i) { | ||
if (!isType(result)) { | ||
throw new Error(`When using type(), the callback passed in returned an invalid type! Value returned was: ${result}`); | ||
throw new Error( | ||
`When using type(), the callback passed in returned an invalid type! Value returned was: ${result}` | ||
); | ||
} | ||
@@ -601,5 +623,7 @@ return result; | ||
const t = type(td); | ||
return Object.fromEntries([...entries(obj)].filter(([_key, value]) => { | ||
return t.typeGuard(value); | ||
})); | ||
return Object.fromEntries( | ||
[...entries(obj)].filter(([_key, value]) => { | ||
return t.typeGuard(value); | ||
}) | ||
); | ||
}; | ||
@@ -621,2 +645,3 @@ } | ||
createMutationFunction, | ||
defineProperties, | ||
defineType, | ||
@@ -639,3 +664,2 @@ dictToKv, | ||
isFunction, | ||
isLiteral, | ||
isNull, | ||
@@ -642,0 +666,0 @@ isNumber, |
{ | ||
"name": "inferred-types", | ||
"version": "0.22.0", | ||
"version": "0.22.5", | ||
"description": "Functions which provide useful type inference on TS projects", | ||
@@ -10,2 +10,5 @@ "license": "MIT", | ||
"typings": "dist/index.d.ts", | ||
"repository": { | ||
"url": "https://github.com/inocan-group/inferred-types" | ||
}, | ||
"sideEffects": false, | ||
@@ -33,25 +36,26 @@ "scripts": { | ||
"@type-challenges/utils": "~0.1.1", | ||
"@types/node": "^16.11.45", | ||
"@typescript-eslint/eslint-plugin": "^5.30.7", | ||
"@typescript-eslint/parser": "^5.30.7", | ||
"@types/node": "16", | ||
"@typescript-eslint/eslint-plugin": "^5.40.1", | ||
"@typescript-eslint/parser": "^5.40.1", | ||
"bumpp": "^8.2.1", | ||
"common-types": "^1.30.0", | ||
"common-types": "^1.31.1", | ||
"cross-env": "^7.0.3", | ||
"dd": "^0.21.0", | ||
"dotenv": "^16.0.1", | ||
"eslint": "^8.20.0", | ||
"dd": "^0.24.0", | ||
"dotenv": "^16.0.3", | ||
"eslint": "^8.25.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"eslint-plugin-promise": "^6.1.0", | ||
"npm-run-all": "~4.1.5", | ||
"prettier": "~2.7.1", | ||
"rimraf": "^3.0.2", | ||
"tsup": "^6.1.3", | ||
"typescript": "^4.7.4", | ||
"vite": "^3.0.2", | ||
"vitest": "^0.19.0" | ||
"sharp": "^0.31.1", | ||
"tsup": "^6.3.0", | ||
"typescript": "^4.8.4", | ||
"vite": "^3.1.8", | ||
"vitest": "^0.24.3" | ||
}, | ||
"dependencies": { | ||
"common-types": "^1.31.1" | ||
"brilliant-errors": "^0.6.0" | ||
}, | ||
@@ -58,0 +62,0 @@ "pnpm": { |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: 3f75741a | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 5ddbbf55 | ||
@@ -13,28 +13,5 @@ // directory exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: f6badae2 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: bd3a442e | ||
@@ -11,28 +11,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex: orphan | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: 58ead14b | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 3305143b | ||
@@ -12,28 +12,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
@@ -1,2 +0,28 @@ | ||
export type LowerAlpha = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z"; | ||
export type LowerAlpha = | ||
| "a" | ||
| "b" | ||
| "c" | ||
| "d" | ||
| "e" | ||
| "f" | ||
| "g" | ||
| "h" | ||
| "i" | ||
| "j" | ||
| "k" | ||
| "l" | ||
| "m" | ||
| "n" | ||
| "o" | ||
| "p" | ||
| "q" | ||
| "r" | ||
| "s" | ||
| "t" | ||
| "u" | ||
| "v" | ||
| "w" | ||
| "x" | ||
| "y" | ||
| "z"; | ||
@@ -11,3 +37,2 @@ /** Uppercase alphabetic character */ | ||
export type Whitespace = " " | "\n" | "\t"; | ||
@@ -21,7 +46,7 @@ | ||
export type OpenningBracket = "(" | "[" | "{"; | ||
export type OpeningBracket = "(" | "[" | "{"; | ||
export type ClosingBracket = ")" | "]" | "}"; | ||
/** | ||
* Openning and closing parenthesis | ||
* Opening and closing parenthesis | ||
*/ | ||
@@ -31,5 +56,5 @@ export type Parenthesis = "(" | ")"; | ||
/** | ||
* Openning and closing brackets | ||
* Opening and closing brackets | ||
*/ | ||
export type Bracket = OpenningBracket | ClosingBracket; | ||
export type Bracket = OpeningBracket | ClosingBracket; | ||
@@ -46,8 +71,7 @@ /** | ||
export type SpecialCharacters = "@" | "~" | "^" | "#" | "&" | "*"; | ||
/** | ||
* Non-alphabetic characters including whitespace, string numerals, and | ||
* Non-alphabetic characters including whitespace, string numerals, and | ||
*/ | ||
export type NonAlpha = Whitespace | Punctuation | NumericString | Bracket | SpecialCharacters; | ||
export type NonAlpha = Whitespace | Punctuation | NumericString | Bracket | SpecialCharacters; |
import { PascalCase } from "./PascalCase"; | ||
export type CamelCase<S extends string> = Uncapitalize<PascalCase<S>>; | ||
export type CamelCase<S extends string> = string extends S ? string : Uncapitalize<PascalCase<S>>; |
// #autoindex, exclude: Alpha | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: fcf9c4b | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: b32382ed | ||
@@ -22,28 +22,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 7th Jul, 2022, 02:28 PM ( GMT-7 ) | ||
// hash-code: 6e90bc78 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 55881f7d | ||
@@ -11,2 +11,3 @@ // file exports | ||
export * from "./Get"; | ||
export * from "./MutableProps"; | ||
export * from "./RequireProps"; | ||
@@ -16,28 +17,5 @@ export * from "./SameKeys"; | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
@@ -1,2 +0,2 @@ | ||
import { Alpha } from "common-types"; | ||
import { Alpha } from "../alphabetic/alpha-characters"; | ||
@@ -3,0 +3,0 @@ /** |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: c5fbce38 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 9dbff34 | ||
@@ -9,28 +9,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 6th Jun, 2022, 10:19 AM ( GMT-7 ) | ||
// hash-code: 7fa9afdf | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 57dfa865 | ||
@@ -9,28 +9,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 7th Jul, 2022, 01:15 PM ( GMT-7 ) | ||
// hash-code: f976e182 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: fbd4603a | ||
@@ -45,28 +45,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
@@ -1,8 +0,8 @@ | ||
/** | ||
/** | ||
* A Utility class that provides the same functionality as the built-in | ||
* `keyof` TS operator but can also: | ||
* | ||
* | ||
* - receive an array of strings and convert that into a union type. | ||
* - you can exclude literal string from the returned result | ||
* | ||
* | ||
* ```ts | ||
@@ -20,4 +20,8 @@ * const t1 = { foo: 1, bar: 2 }; | ||
W extends string | undefined = undefined | ||
> = T extends readonly string[] | ||
? W extends string ? Exclude<T[number], W> : T[number] | ||
: W extends string ? Exclude<keyof T & string, W> : keyof T & string; | ||
> = T extends readonly string[] | ||
? W extends string | ||
? Exclude<T[number], W> | ||
: T[number] | ||
: W extends string | ||
? Exclude<keyof T & string, W> | ||
: keyof T & string; |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: abd196de | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 744ff3bf | ||
@@ -12,28 +12,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: 61af00e2 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 582c0cf0 | ||
@@ -10,28 +10,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: a80cfdd7 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: d0cf1562 | ||
@@ -18,28 +18,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: 37b8bb67 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 582cd3f6 | ||
@@ -14,28 +14,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 6th Jun, 2022, 10:18 AM ( GMT-7 ) | ||
// hash-code: b346a5f3 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 200001fa | ||
@@ -12,28 +12,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: d2d3ad38 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 57c2f8db | ||
@@ -9,28 +9,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 7th Jul, 2022, 01:47 PM ( GMT-7 ) | ||
// hash-code: dd2bf50a | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: b0051c37 | ||
// file exports | ||
export * from "./arrayToKeyLookup"; | ||
export * from "./defineProperties"; | ||
export * from "./dictionaryTransform"; | ||
@@ -15,28 +16,5 @@ export * from "./entries"; | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: e1ea6f41 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: dd4e4592 | ||
@@ -12,28 +12,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: 6886d37a | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 9dd9ac96 | ||
@@ -14,2 +14,3 @@ // file exports | ||
export * from "./dictionary/index"; | ||
export * from "./errors/index"; | ||
export * from "./lists/index"; | ||
@@ -22,28 +23,5 @@ export * from "./literals/index"; | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: 150c313 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: bf4a6791 | ||
@@ -10,28 +10,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: b7a5f43 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 7a22bbbc | ||
@@ -13,28 +13,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: 73454cdf | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 5ffc538b | ||
@@ -9,28 +9,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex, exclude: IoModel | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: 34d6be17 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: db68628c | ||
@@ -9,28 +9,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: a3788912 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 4324574d | ||
@@ -12,3 +12,2 @@ // file exports | ||
export * from "./isFunction"; | ||
export * from "./isLiteral"; | ||
export * from "./isNull"; | ||
@@ -22,28 +21,5 @@ export * from "./isNumber"; | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
@@ -32,6 +32,7 @@ import { Narrowable } from "src/types/Narrowable"; | ||
return true as TValue extends TBase ? true : false; | ||
} else { | ||
return keys(base as object).every((i) => | ||
runtimeExtendsCheck((val as TValue)[i], base[i], narrow) | ||
) as TValue extends TBase ? true : false; | ||
} | ||
return keys(base as object).every((i) => | ||
runtimeExtendsCheck(val[i], base[i], narrow) | ||
) as TValue extends TBase ? true : false; | ||
} | ||
@@ -38,0 +39,0 @@ } |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: 91796b6 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 687852c8 | ||
@@ -14,28 +14,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 7th Jul, 2022, 01:15 PM ( GMT-7 ) | ||
// hash-code: 14769606 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 09:51 AM ( GMT-7 ) | ||
// hash-code: 397c607b | ||
@@ -10,28 +10,5 @@ // file exports | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
// #autoindex | ||
// #region autoindexed files | ||
// index last changed at: 1st Jan, 2022, 03:27 PM ( GMT-8 ) | ||
// hash-code: da242834 | ||
// #region auto-indexed files | ||
// index last changed at: 8th Aug, 2022, 06:09 PM ( GMT-7 ) | ||
// hash-code: 683d9860 | ||
// #endregion | ||
// #endregion auto-indexed files | ||
// This file was created by running: "dd autoindex"; it assumes you have | ||
// the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep. | ||
// | ||
// By default it assumes that exports are named exports but this can be changed by | ||
// adding a modifier to the '// #autoindex' syntax: | ||
// | ||
// - autoindex:named same as default, exports "named symbols" | ||
// - autoindex:default assumes each file is exporting a default export and | ||
// converts the default export to the name of the file | ||
// - autoindex:offset assumes files export "named symbols" but that each | ||
// file's symbols should be offset by the file's name | ||
// | ||
// You may also exclude certain files or directories by adding it to the | ||
// autoindex command. As an example: | ||
// | ||
// - autoindex:named, exclude: foo,bar,baz | ||
// | ||
// Inversely, if you state a file to be an "orphan" then autoindex files | ||
// below this file will not reference this autoindex file: | ||
// | ||
// - autoindex:named, orphan | ||
// | ||
// All content outside the "// #region" section in this file will be | ||
// preserved in situations where you need to do something paricularly awesome. | ||
// Keep on being awesome. | ||
// see https://github.com/inocan-group/do-devops/docs/autoindex.md | ||
// for more info |
@@ -28,3 +28,7 @@ import { describe, it } from "vitest"; | ||
type cases = [Expect<Equal<T1, Expected1>>, Expect<Equal<T2, Expected2>>]; | ||
type cases = [ | ||
// | ||
Expect<Equal<T1, Expected1>>, | ||
Expect<Equal<T2, Expected2>> | ||
]; | ||
@@ -31,0 +35,0 @@ const cases: cases = [true, true]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
219
317380
22
8500
+ Addedbrilliant-errors@^0.6.0
+ Addedbrilliant-errors@0.6.1(transitive)
+ Addedcallsites@4.2.0(transitive)
+ Addedinferred-types@0.33.4(transitive)
- Removedcommon-types@^1.31.1