解决与jsdoc的命名冲突
This commit is contained in:
parent
14cbfdc843
commit
ea754c9642
|
@ -10,10 +10,12 @@ export default class extends HTMLDivElement {
|
||||||
* @param {HTMLDivElement} [position]
|
* @param {HTMLDivElement} [position]
|
||||||
* @param {true} [noclick]
|
* @param {true} [noclick]
|
||||||
*/
|
*/
|
||||||
|
// @ts-ignore
|
||||||
constructor(position, noclick) {
|
constructor(position, noclick) {
|
||||||
/**
|
/**
|
||||||
* @type {Player}
|
* @type {this}
|
||||||
*/
|
*/
|
||||||
|
// @ts-ignore
|
||||||
const player = ui.create.div('.player', position);
|
const player = ui.create.div('.player', position);
|
||||||
Object.setPrototypeOf(player, lib.element.Player.prototype);
|
Object.setPrototypeOf(player, lib.element.Player.prototype);
|
||||||
player.build(noclick);
|
player.build(noclick);
|
||||||
|
|
|
@ -20,9 +20,9 @@ import { GNC as gnc } from '../gnc/index.js';
|
||||||
|
|
||||||
import { LibInit } from "./init/index.js";
|
import { LibInit } from "./init/index.js";
|
||||||
import { Announce } from "./announce/index.js";
|
import { Announce } from "./announce/index.js";
|
||||||
import Content from "./element/content.js";
|
import LibElementContent from "./element/content.js";
|
||||||
import Contents from "./element/contents.js";
|
import LibElementContents from "./element/contents.js";
|
||||||
import Player from "./element/player.js";
|
import LibElementPlayer from "./element/player.js";
|
||||||
|
|
||||||
export class Library extends Uninstantable {
|
export class Library extends Uninstantable {
|
||||||
static configprefix = 'noname_0.9_';
|
static configprefix = 'noname_0.9_';
|
||||||
|
@ -9225,9 +9225,9 @@ export class Library extends Uninstantable {
|
||||||
_stratagem_add_buff: '强化'
|
_stratagem_add_buff: '强化'
|
||||||
};
|
};
|
||||||
static element = {
|
static element = {
|
||||||
content: Content,
|
content: LibElementContent,
|
||||||
contents: Contents,
|
contents: LibElementContents,
|
||||||
Player: Player,
|
Player: LibElementPlayer,
|
||||||
Card: class extends HTMLDivElement {
|
Card: class extends HTMLDivElement {
|
||||||
/**
|
/**
|
||||||
* @param {HTMLDivElement} [position]
|
* @param {HTMLDivElement} [position]
|
||||||
|
|
Loading…
Reference in New Issue