This commit is contained in:
V 2023-06-13 02:36:25 +02:00
parent 42d8211871
commit 07a9adbce2
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905
35 changed files with 48 additions and 137 deletions

View file

@ -37,7 +37,7 @@ export const importApngJs = makeLazy(async () => {
});
// https://wiki.mozilla.org/APNG_Specification#.60fcTL.60:_The_Frame_Control_Chunk
export enum ApngDisposeOp {
export const enum ApngDisposeOp {
/**
* no disposal is done on this frame before rendering the next; the contents of the output buffer are left as is.
*/
@ -53,7 +53,7 @@ export enum ApngDisposeOp {
}
// TODO: Might need to somehow implement this
export enum ApngBlendOp {
export const enum ApngBlendOp {
SOURCE,
OVER
}

View file

@ -21,14 +21,14 @@ import type { ComponentType, PropsWithChildren, ReactNode, Ref } from "react";
import { LazyComponent } from "./react";
export enum ModalSize {
export const enum ModalSize {
SMALL = "small",
MEDIUM = "medium",
LARGE = "large",
DYNAMIC = "dynamic",
}
enum ModalTransitionState {
const enum ModalTransitionState {
ENTERING,
ENTERED,
EXITING,

View file

@ -117,7 +117,7 @@ export interface PluginDef {
tags?: string[];
}
export enum OptionType {
export const enum OptionType {
STRING,
NUMBER,
BIGINT,