From f7f1b604443c030afe29d1059b90f72c69afe081 Mon Sep 17 00:00:00 2001
From: Colin McDonnell <colinmcd94@gmail.com>
Date: Wed, 9 Nov 2022 15:40:40 -0800
Subject: Add bun-types, add typechecking, add `child_process` types (#1475)

* Add bun-types to packages

* Improve typing

* Fix types in tests

* Fix dts tests

* Run formatter

* Fix all type errors

* Add strict mode, fix type errors

* Add ffi changes

* Move workflows to root

* Add workflows

* Remove labeler

* Add child_process types

* Fix synthetic defaults issue

* Remove docs

* Move scripts

* Run prettier

* Include examples in typechecking

* captureStackTrace types

* moved captureStackTrace types to globals

* Address reviews

Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
---
 packages/bun-framework-next/fallback.development.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'packages/bun-framework-next/fallback.development.tsx')

diff --git a/packages/bun-framework-next/fallback.development.tsx b/packages/bun-framework-next/fallback.development.tsx
index 4db94e5d5..6e3ff00ff 100644
--- a/packages/bun-framework-next/fallback.development.tsx
+++ b/packages/bun-framework-next/fallback.development.tsx
@@ -12,7 +12,7 @@ function insertGlobalStyleSheet({ detail: url }) {
       link.onabort = reject;
       link.onerror = reject;
       document.head.appendChild(link);
-    })
+    }),
   );
 }
 
@@ -27,7 +27,7 @@ function insertNextHeadCount() {
   if (!once) {
     document.head.insertAdjacentHTML(
       "beforeend",
-      `<meta name="next-head-count" content="0">`
+      `<meta name="next-head-count" content="0">`,
     );
     once = true;
   }
@@ -43,7 +43,7 @@ globalThis.__BUN_APP_STYLES = [...globalThis["__BUN"].allImportedStyles].map(
     }
 
     return style;
-  }
+  },
 );
 
 import { _boot, pageLoader } from "./client.development";
@@ -96,7 +96,7 @@ export default function render(props: FallbackMessageContainer) {
         Promise.all(pageLoader.cssQueue).finally(() => {
           renderFallbackError(props);
         });
-      }
+      },
     );
   });
 }
-- 
cgit v1.2.3

