inferred-types 0.18.1 → 0.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,27 +1,24 @@
1
1
  // #autoindex
2
2
 
3
3
  // #region autoindexed files
4
+ // index last changed at: 12th Dec, 2021, 09:28 AM ( GMT-8 )
5
+ // hash-code: 3659802676
4
6
 
5
- // index last changed at: 12th Dec, 2021, 12:35 PM ( GMT-8 )
6
- // export: named; exclusions: index, private.
7
7
 
8
8
 
9
- // Note:
10
- // -----
11
- // This file was created by running: "dd devops autoindex"; it assumes you have
9
+ // #endregion
10
+
11
+ // This file was created by running: "dd autoindex"; it assumes you have
12
12
  // the 'do-devops' pkg (that's "dd" on npm) installed as a dev dep.
13
13
  //
14
14
  // By default it assumes that exports are named exports but this can be changed by
15
15
  // adding a modifier to the '// #autoindex' syntax:
16
16
  //
17
17
  // - autoindex:named same as default, exports "named symbols"
18
- // - autoindex:default assumes each file is exporting a default export
19
- // and converts the default export to the name of the
20
- // file
18
+ // - autoindex:default assumes each file is exporting a default export and
19
+ // converts the default export to the name of the file
21
20
  // - autoindex:offset assumes files export "named symbols" but that each
22
21
  // file's symbols should be offset by the file's name
23
- // (useful for files which might symbols which collide
24
- // or where the namespacing helps consumers)
25
22
  //
26
23
  // You may also exclude certain files or directories by adding it to the
27
24
  // autoindex command. As an example:
@@ -33,8 +30,6 @@
33
30
  //
34
31
  // - autoindex:named, orphan
35
32
  //
36
- // Also be aware that all of your content outside the "// #region" section in this file
37
- // will be preserved in situations where you need to do something paricularly awesome.
33
+ // All content outside the "// #region" section in this file will be
34
+ // preserved in situations where you need to do something paricularly awesome.
38
35
  // Keep on being awesome.
39
-
40
- // #endregion
@@ -23,7 +23,10 @@ describe("dictToKv()", () => {
23
23
  }
24
24
 
25
25
  type cases = [
26
- Expect<Equal<Val, [
26
+ Expect<
27
+ Equal<
28
+ Val,
29
+ [
27
30
  {
28
31
  key: "id";
29
32
  value: 123;
@@ -32,7 +35,8 @@ describe("dictToKv()", () => {
32
35
  key: "foo";
33
36
  value: "bar";
34
37
  }
35
- ]>
38
+ ]
39
+ >
36
40
  >
37
41
  ];
38
42
 
@@ -1,3 +0,0 @@
1
- import { createError } from "brilliant-errors";
2
-
3
- export const [InferenceError, isInferenceError] = createError("InferenceError", "inferred-types")()()()();
@@ -1,37 +0,0 @@
1
- // #autoindex
2
- // #region autoindexed files
3
-
4
- // index last changed at: 6th Jun, 2021, 07:11 PM ( GMT-7 )
5
- // export: named; exclusions: index, private.
6
- // files: InferenceError.
7
-
8
- // local file exports
9
- export * from "./InferenceError";
10
-
11
- // Note:
12
- // -----
13
- // This file was created by running: "dd devops autoindex"; it assumes you have
14
- // the 'do-devops' pkg installed as a dev dep.
15
- //
16
- // By default it assumes that exports are named exports but this can be changed by
17
- // adding a modifier to the '// #autoindex' syntax:
18
- //
19
- // - autoindex:named same as default, exports "named symbols"
20
- // - autoindex:default assumes each file is exporting a default export
21
- // and converts the default export to the name of the
22
- // file
23
- // - autoindex:offset assumes files export "named symbols" but that each
24
- // file's symbols should be offset by the file's name
25
- // (useful for files which might symbols which collide
26
- // or where the namespacing helps consumers)
27
- //
28
- // You may also exclude certain files or directories by adding it to the
29
- // autoindex command. As an example:
30
- //
31
- // - autoindex:named, exclude: foo,bar,baz
32
- //
33
- // Also be aware that all of your content outside the defined region in this file
34
- // will be preserved in situations where you need to do something paricularly awesome.
35
- // Keep on being awesome.
36
-
37
- // #endregion