Fix FS import

This commit is contained in:
ochafik 2023-03-24 04:05:45 +00:00
commit e69c5c04d6
3 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
// Portions of this file are Copyright 2021 Google LLC, and licensed under GPL2+. See COPYING.
import FS from 'browserfs/dist/node/core/FS';
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
import { FSMounts, readDirAsArray, Symlinks } from '../filesystem';
import { FS, readDirAsArray, Symlinks } from '../filesystem';
import { ParsedFile, ParsedFunctionoidDef, parseOpenSCAD, stripComments } from './openscad-pseudoparser';
import builtinSignatures from './openscad-builtins'
import { mapObject } from '../utils';

View file

@ -1,5 +1,5 @@
// Portions of this file are Copyright 2021 Google LLC, and licensed under GPL2+. See COPYING.
import FS from 'browserfs/dist/node/core/FS';
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
const builtInFunctionNames = [

View file

@ -1,4 +1,5 @@
// Portions of this file are Copyright 2021 Google LLC, and licensed under GPL2+. See COPYING.
export type ParsedFunctionoidDef = {
path: string,
name: string,