Fix compiler errors

This commit is contained in:
2023-08-31 16:02:25 +02:00
parent f4937c3739
commit ffe37e451f
11 changed files with 14 additions and 47 deletions

View File

@ -1,6 +1,4 @@
import { type Editor } from "../main";
export const about = (application: Editor): string => {
export const about = (): string => {
return `
# About Topos

View File

@ -1,4 +1,4 @@
import { makeExampleFactory, key_shortcut } from "../Documentation";
import { makeExampleFactory } from "../Documentation";
import { type Editor } from "../main";
export const chaining = (application: Editor): string => {

View File

@ -1,5 +1,5 @@
import { type Editor } from "../main";
import { makeExampleFactory, key_shortcut } from "../Documentation";
import { makeExampleFactory } from "../Documentation";
export const functions = (application: Editor): string => {
const makeExample = makeExampleFactory(application);

View File

@ -1,8 +1,6 @@
import { type Editor } from "../main";
import { makeExampleFactory, key_shortcut } from "../Documentation";
import { key_shortcut } from "../Documentation";
export const shortcuts = (application: Editor): string => {
const makeExample = makeExampleFactory(application);
export const shortcuts = (): string => {
return `
# Keybindings

View File

@ -1,5 +1,5 @@
import { type Editor } from "../main";
import { makeExampleFactory, key_shortcut } from "../Documentation";
import { makeExampleFactory } from "../Documentation";
export const patterns = (application: Editor): string => {
const makeExample = makeExampleFactory(application);

View File

@ -1,5 +1,3 @@
import { type Editor } from "../main";
export const reference = (application: Editor): string => {
export const reference = (): string => {
return ``;
};

View File

@ -1,5 +1,5 @@
import { type Editor } from "../main";
import { makeExampleFactory, key_shortcut } from "../Documentation";
import { makeExampleFactory } from "../Documentation";
export const synths = (application: Editor): string => {
const makeExample = makeExampleFactory(application);

View File

@ -1,4 +1,4 @@
import { makeExampleFactory, key_shortcut } from "../Documentation";
import { makeExampleFactory } from "../Documentation";
import { type Editor } from "../main";
export const time = (application: Editor): string => {

View File

@ -1,5 +1,5 @@
import { type Editor } from "../main";
import { makeExampleFactory, key_shortcut } from "../Documentation";
import { makeExampleFactory } from "../Documentation";
export const ziffers = (application: Editor): string => {
const makeExample = makeExampleFactory(application);