Skip to content

Commit

Permalink
Export supportedPHPExtensions for ts-json-schema-generator
Browse files Browse the repository at this point in the history
Without the export, it errors out with:

UnknownNodeError: Unknown node " supportedPHPExtensions" of kind "Identifier"
  • Loading branch information
adamziel committed Oct 12, 2023
1 parent b16c337 commit 772bdd4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const supportedPHPExtensions = ['mbstring', 'xml-bundle', 'gd'] as const;
export const supportedPHPExtensions = ['mbstring', 'xml-bundle', 'gd'] as const;
export type SupportedPHPExtension = (typeof supportedPHPExtensions)[number];
export const SupportedPHPExtensionsList =
supportedPHPExtensions as any as SupportedPHPExtension[];
Expand Down

0 comments on commit 772bdd4

Please sign in to comment.