mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 17:59:50 +02:00
chore: update dependencies
notably, eslint v9 requires big changes to the configuration. because eslint-plugin-import doesn't support eslint v9, it's disabled by now.
This commit is contained in:
parent
5c40159bf5
commit
70a82e2af3
63 changed files with 763 additions and 735 deletions
|
@ -9,11 +9,7 @@ import type { StructValue } from "./struct-value.js";
|
|||
* helpful for the serialization process.
|
||||
*/
|
||||
export abstract class StructFieldValue<
|
||||
TDefinition extends StructFieldDefinition<
|
||||
any,
|
||||
any,
|
||||
any
|
||||
> = StructFieldDefinition<any, any, any>,
|
||||
TDefinition extends StructFieldDefinition<unknown, unknown, PropertyKey>,
|
||||
> {
|
||||
/** Gets the definition associated with this runtime value */
|
||||
readonly definition: TDefinition;
|
||||
|
@ -58,7 +54,7 @@ export abstract class StructFieldValue<
|
|||
* When implemented in derived classes, reads current field's value.
|
||||
*/
|
||||
get(): TDefinition["TValue"] {
|
||||
return this.value;
|
||||
return this.value as never;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue