Skip to content

Commit c2ec718

Browse files
committed
Release 0.13.33
1 parent 3773f51 commit c2ec718

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pave",
33
"type": "module",
4-
"version": "0.13.32",
4+
"version": "0.13.33",
55
"author": "Casey Foster <c@sey.me>",
66
"license": "MIT",
77
"repository": {

src/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828

2929
/**
3030
* @template {TypeOptions} O
31-
* @typedef {Type<Pick<O, 'context' | 'extensions' | 'typeName'>>} SubType
31+
* @typedef {Type<{
32+
* context: O['context'];
33+
* extensions: O['extensions'];
34+
* typeName: O['typeName'];
35+
* }>} SubType
3236
*/
3337

3438
/**

types/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ export type TypeOptions = {
2121
typeName?: string;
2222
value?: any;
2323
};
24-
export type SubType<O extends TypeOptions> = Type<Pick<O, "context" | "extensions" | "typeName">>;
24+
export type SubType<O extends TypeOptions> = Type<{
25+
context: O["context"];
26+
extensions: O["extensions"];
27+
typeName: O["typeName"];
28+
}>;
2529
export type Type<O extends TypeOptions = {}> = Recursive<(O["typeName"] extends string ? O["typeName"] : never) | (({
2630
optional: SubType<O>;
2731
} | {

0 commit comments

Comments
 (0)