Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Update TSCondif
Nate Butlere996a66596d8
diff --git a/styles/src/theme/themeConfig.ts b/styles/src/theme/themeConfig.tsindex 0342d0226d7..176ae83bb76 100644--- a/styles/src/theme/themeConfig.ts+++ b/styles/src/theme/themeConfig.ts@@ -23,6 +23,11 @@ interface ThemeMeta {themeUrl?: string}+export type ThemeFamilyMeta = Pick<+ ThemeMeta,+ "name" | "author" | "licenseType" | "licenseUrl"+>+export interface ThemeConfigInputColors {neutral: Scale<Color>red: Scale<Color>diff --git a/styles/src/themes/atelier/common.ts b/styles/src/themes/atelier/common.tsindex 961ca642701..2e5be61f52d 100644--- a/styles/src/themes/atelier/common.ts+++ b/styles/src/themes/atelier/common.ts@@ -1,4 +1,4 @@-import { ThemeLicenseType, ThemeConfig, ThemeSyntax } from "../../common"+import { ThemeLicenseType, ThemeSyntax, ThemeFamilyMeta } from "../../common"export interface Variant {colors: {@@ -21,7 +21,7 @@ export interface Variant {}}-export const meta: Partial<ThemeConfig> = {+export const meta: ThemeFamilyMeta = {name: "Atelier",author: "Bram de Haan (http://atelierbramdehaan.nl)",licenseType: ThemeLicenseType.MIT,diff --git a/styles/src/themes/ayu/common.ts b/styles/src/themes/ayu/common.tsindex 26e21c19105..1eb2c91916d 100644--- a/styles/src/themes/ayu/common.ts+++ b/styles/src/themes/ayu/common.ts@@ -3,8 +3,8 @@ import {chroma,colorRamp,ThemeLicenseType,- ThemeConfig,ThemeSyntax,+ ThemeFamilyMeta,} from "../../common"export const ayu = {@@ -77,7 +77,7 @@ export const buildSyntax = (t: typeof dark): ThemeSyntax => {}}-export const meta: Partial<ThemeConfig> = {+export const meta: ThemeFamilyMeta = {name: "Ayu",author: "dempfi",licenseType: ThemeLicenseType.MIT,diff --git a/styles/src/themes/gruvbox/gruvbox-common.ts b/styles/src/themes/gruvbox/gruvbox-common.tsindex f1c04a069c9..18e8c5b97e5 100644--- a/styles/src/themes/gruvbox/gruvbox-common.ts+++ b/styles/src/themes/gruvbox/gruvbox-common.ts@@ -5,9 +5,10 @@ import {ThemeLicenseType,ThemeConfig,ThemeSyntax,+ ThemeFamilyMeta,} from "../../common"-const meta: Partial<ThemeConfig> = {+const meta: ThemeFamilyMeta = {name: "Gruvbox",author: "morhetz <[email protected]>",licenseType: ThemeLicenseType.MIT,diff --git a/styles/tsconfig.json b/styles/tsconfig.jsonindex 13a5faf32b4..6d24728a0a9 100644--- a/styles/tsconfig.json+++ b/styles/tsconfig.json@@ -6,7 +6,21 @@"noImplicitAny": true,"removeComments": true,"preserveConstEnums": true,- "sourceMap": true+ "sourceMap": true,+ "noEmit": true,+ "forceConsistentCasingInFileNames": true,+ "declaration": true,+ "strict": true,+ "strictNullChecks": true,+ "noImplicitThis": true,+ "alwaysStrict": true,+ "noUnusedLocals": false,+ "noUnusedParameters": false,+ "noImplicitReturns": true,+ "noFallthroughCasesInSwitch": false,+ "experimentalDecorators": true,+ "strictPropertyInitialization": false,+ "skipLibCheck": true},"exclude": ["node_modules"]}