build(deps-dev): bump eslint from 8.57.1 to 9.13.0 (#2792)
* build(deps-dev): bump eslint from 8.57.1 to 9.13.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.13.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.57.1...v9.13.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Upgrade EsLint * Fix all new lint errors --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dolan Miu <dolan_miu@hotmail.com>
This commit is contained in:
@ -1,14 +1,9 @@
|
||||
// http://officeopenxml.com/WPtext.php
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { FootnoteReferenceRun } from "@file/footnotes/footnote/run/reference-run";
|
||||
import { FieldInstruction } from "@file/table-of-contents/field-instruction";
|
||||
import { XmlComponent } from "@file/xml-components";
|
||||
|
||||
import { Break } from "./break";
|
||||
import { Begin, End, Separate } from "./field";
|
||||
import { NumberOfPages, NumberOfPagesSection, Page, CurrentSection } from "./page-number";
|
||||
import { IRunPropertiesOptions, RunProperties } from "./properties";
|
||||
import { Text } from "./run-components/text";
|
||||
import {
|
||||
AnnotationReference,
|
||||
CarriageReturn,
|
||||
@ -28,9 +23,13 @@ import {
|
||||
YearLong,
|
||||
YearShort,
|
||||
} from "./empty-children";
|
||||
import { Begin, End, Separate } from "./field";
|
||||
import { CurrentSection, NumberOfPages, NumberOfPagesSection, Page } from "./page-number";
|
||||
import { PositionalTab } from "./positional-tab";
|
||||
import { IRunPropertiesOptions, RunProperties } from "./properties";
|
||||
import { Text } from "./run-components/text";
|
||||
|
||||
export interface IRunOptions extends IRunPropertiesOptions {
|
||||
export type IRunOptions = {
|
||||
// <xsd:choice>
|
||||
// <xsd:element name="br" type="CT_Br" />
|
||||
// <xsd:element name="t" type="CT_Text" />
|
||||
@ -96,9 +95,8 @@ export interface IRunOptions extends IRunPropertiesOptions {
|
||||
)[];
|
||||
readonly break?: number;
|
||||
readonly text?: string;
|
||||
}
|
||||
} & IRunPropertiesOptions;
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
export const PageNumber = {
|
||||
CURRENT: "CURRENT",
|
||||
TOTAL_PAGES: "TOTAL_PAGES",
|
||||
@ -106,8 +104,6 @@ export const PageNumber = {
|
||||
CURRENT_SECTION: "SECTION",
|
||||
} as const;
|
||||
|
||||
/* eslint-enable */
|
||||
|
||||
export class Run extends XmlComponent {
|
||||
protected readonly properties: RunProperties;
|
||||
|
||||
|
Reference in New Issue
Block a user