Updates to file formatting

This commit is contained in:
Alex Currie-Clark 2023-01-12 15:19:08 +00:00
parent 12f445d55d
commit 5a90956e3b
5 changed files with 20 additions and 5 deletions

View file

@ -1,6 +1,11 @@
{
"extends": "../tsconfig.json",
"exclude": ["../dist/**/*", "../node_modules", "../test/**/*", "../src/**/*.deno.ts"],
"exclude": [
"../dist/**/*",
"../node_modules",
"../test/**/*",
"../src/**/*.deno.ts"
],
"compilerOptions": {
"outDir": "../dist/cjs"
}

View file

@ -1,6 +1,11 @@
{
"extends": "../tsconfig.json",
"exclude": ["../dist/**/*", "../node_modules", "../test/**/*", "../src/**/*.deno.ts"],
"exclude": [
"../dist/**/*",
"../node_modules",
"../test/**/*",
"../src/**/*.deno.ts"
],
"emitDeclarationOnly": true,
"compilerOptions": {
"outDir": "../dist"

View file

@ -1,6 +1,11 @@
{
"extends": "../tsconfig.json",
"exclude": ["../dist/**/*", "../node_modules", "../test/**/*", "../src/**/*.deno.ts"],
"exclude": [
"../dist/**/*",
"../node_modules",
"../test/**/*",
"../src/**/*.deno.ts"
],
"compilerOptions": {
"target": "es6",
"module": "es6",

View file

@ -14,7 +14,7 @@ export type { ChangeToEncode } from "@automerge/automerge-wasm"
export function UseApi(api: API) {
for (const k in api) {
(ApiHandler as any)[k] = (api as any)[k]
;(ApiHandler as any)[k] = (api as any)[k]
}
}

View file

@ -5,7 +5,7 @@ import type { InternalState } from "./internal_state"
export class Text {
elems: Array<any>
str: string | undefined
spans: Array<any> | undefined
spans: Array<any> | undefined;
[STATE]?: InternalState<any>
constructor(text?: string | string[] | Value[]) {