Skip to content

Commit

Permalink
HWE: Fix build for TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
tanas80 committed Jun 25, 2024
1 parent 086e0ca commit cb34827
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion HELM/source/helm/Monomers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import type {
HelmType, IMonomerColors, IOrgMonomers, MonomerType, PolymerType, MonomerSetType, IWebEditorMonomer
} from '@datagrok-libraries/js-draw-lite/src/types/org';
import type {IOrgHelmMonomers, OrgType} from '../src/types/org-helm';
import type {GetMonomerFunc, IOrgHelmMonomers, OrgType} from '../src/types/org-helm';
import type {JSDraw2ModuleType, ScilModuleType} from '@datagrok-libraries/js-draw-lite/src/types';
import type {Atom} from '@datagrok-libraries/js-draw-lite/src/Atom';

Expand Down
2 changes: 1 addition & 1 deletion HELM/source/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions HELM/source/src/types/org-helm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ export type AppSizesType = {
rightwidth: number,
}

export type GetMonomerResType = IWebEditorMonomer | null;
export type GetMonomerFunc = (a: Atom<HelmType> | HelmType, name?: string) => GetMonomerResType;

export interface IOrgHelmMonomers extends IOrgMonomers<HelmType> {
cleanupurl: string | null;

Expand Down

0 comments on commit cb34827

Please sign in to comment.