From afb934359b63c6c6945e27e143c9ba96d48eb3df Mon Sep 17 00:00:00 2001 From: Jacob Cassidy Date: Thu, 9 Jan 2025 14:53:38 +0700 Subject: [PATCH] Add `type.d.ts` for ESM usage --- packages/prettier-config/lib/type.d.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 packages/prettier-config/lib/type.d.ts diff --git a/packages/prettier-config/lib/type.d.ts b/packages/prettier-config/lib/type.d.ts new file mode 100644 index 00000000000000..60c762550dd854 --- /dev/null +++ b/packages/prettier-config/lib/type.d.ts @@ -0,0 +1,4 @@ +declare module '@wordpress/prettier-config' { + const config: any; + export = config; +}