Updates to file formatting
This commit is contained in:
parent
12f445d55d
commit
5a90956e3b
5 changed files with 20 additions and 5 deletions
javascript
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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[]) {
|
||||
|
|
Loading…
Add table
Reference in a new issue