mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
526b0ad33e
Summary: - Update rules to be more like we've had with tslint - Switch tsserver plugin to eslint (tsserver makes for a much faster way to lint in editors) - Apply suggested auto-fixes - Fix all lint errors and warnings in core/, app/, test/ Test Plan: Some behavior may change subtly (e.g. added missing awaits), relying on existing tests to catch problems. Reviewers: paulfitz Reviewed By: paulfitz Differential Revision: https://phab.getgrist.com/D2785
13 lines
245 B
TypeScript
13 lines
245 B
TypeScript
export type ProductFlavor = string;
|
|
|
|
// TODO: move CustomTheme type outside of stub code
|
|
export interface CustomTheme {
|
|
bodyClassName?: string;
|
|
wideLogo?: boolean;
|
|
}
|
|
|
|
export function getTheme(flavor: string): CustomTheme {
|
|
return {
|
|
};
|
|
}
|