Skip to content

Commit 2e4cc1a

Browse files
authored
Merge pull request #6 from maxholman/qol20240720
hotfix - better optional property handling
2 parents 10e39a1 + 6294b7a commit 2e4cc1a

File tree

15 files changed

+1283
-555
lines changed

15 files changed

+1283
-555
lines changed

__tests__/__snapshots__/nullables.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`nullables 1`] = `
4-
"import type { Jsonifiable, Jsonify } from 'type-fest';
5-
import type { JsonifiableObject } from 'type-fest/source/jsonifiable.js';
4+
"import type { Jsonifiable, Jsonify } from "type-fest";
5+
import type { JsonifiableObject } from "type-fest/source/jsonifiable.js";
66
77
export type MySchemaLolOrNullable = "lol" | "kek" | null;
88
"

__tests__/fixtures/openai/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* WARN: Do not edit directly.
55
*
6-
* Generated on 2024-07-20T03:14:00.890Z
6+
* Generated on 2024-07-20T04:09:19.082Z
77
*
88
*/
99
/** eslint-disable max-classes */

__tests__/fixtures/openai/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* WARN: Do not edit directly.
55
*
6-
* Generated on 2024-07-20T03:14:00.890Z
6+
* Generated on 2024-07-20T04:09:19.082Z
77
*
88
*/
99
import {

0 commit comments

Comments
 (0)