mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-08 01:39:22 +08:00
chore: bump deps (#15151)
This commit is contained in:
@@ -15,11 +15,11 @@ SortOrder.AFTER means a should be rendered after b and so on.
|
||||
|
||||
### a
|
||||
|
||||
`GfxModel` | `GfxLocalElementModel`
|
||||
`GfxModel` \| `GfxLocalElementModel`
|
||||
|
||||
### b
|
||||
|
||||
`GfxModel` | `GfxLocalElementModel`
|
||||
`GfxModel` \| `GfxLocalElementModel`
|
||||
|
||||
## Returns
|
||||
|
||||
|
||||
@@ -32,18 +32,4 @@ Note:
|
||||
|
||||
## Returns
|
||||
|
||||
> (`_`, `context`): `ClassAccessorDecoratorResult`\<`T`, `V`\>
|
||||
|
||||
### Parameters
|
||||
|
||||
#### \_
|
||||
|
||||
`unknown`
|
||||
|
||||
#### context
|
||||
|
||||
`ClassAccessorDecoratorContext`
|
||||
|
||||
### Returns
|
||||
|
||||
`ClassAccessorDecoratorResult`\<`T`, `V`\>
|
||||
(`_`, `context`) => `ClassAccessorDecoratorResult`\<`T`, `V`\>
|
||||
|
||||
@@ -37,18 +37,4 @@ Note:
|
||||
|
||||
## Returns
|
||||
|
||||
> (`_`, `context`): `ClassAccessorDecoratorResult`\<`GfxPrimitiveElementModel`\<`BaseElementProps`\>, `V`\>
|
||||
|
||||
### Parameters
|
||||
|
||||
#### \_
|
||||
|
||||
`unknown`
|
||||
|
||||
#### context
|
||||
|
||||
`ClassAccessorDecoratorContext`
|
||||
|
||||
### Returns
|
||||
|
||||
`ClassAccessorDecoratorResult`\<`GfxPrimitiveElementModel`\<`BaseElementProps`\>, `V`\>
|
||||
(`_`, `context`) => `ClassAccessorDecoratorResult`\<`GfxPrimitiveElementModel`\<`BaseElementProps`\>, `V`\>
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
### a
|
||||
|
||||
`string` | `null` | `undefined`
|
||||
`string` \| `null` \| `undefined`
|
||||
|
||||
### b
|
||||
|
||||
`string` | `null` | `undefined`
|
||||
`string` \| `null` \| `undefined`
|
||||
|
||||
### digits?
|
||||
|
||||
|
||||
@@ -17,11 +17,11 @@ make sure a and b are generated by this function.
|
||||
|
||||
### a
|
||||
|
||||
`string` | `null`
|
||||
`string` \| `null`
|
||||
|
||||
### b
|
||||
|
||||
`string` | `null`
|
||||
`string` \| `null`
|
||||
|
||||
## Returns
|
||||
|
||||
|
||||
@@ -20,11 +20,11 @@ a and b.
|
||||
|
||||
### a
|
||||
|
||||
`string` | `null` | `undefined`
|
||||
`string` \| `null` \| `undefined`
|
||||
|
||||
### b
|
||||
|
||||
`string` | `null` | `undefined`
|
||||
`string` \| `null` \| `undefined`
|
||||
|
||||
### n
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
# Function: getEffectiveDpr()
|
||||
|
||||
> **getEffectiveDpr**(`zoom`, `rawDpr`): `number`
|
||||
> **getEffectiveDpr**(`zoom`, `rawDpr?`): `number`
|
||||
|
||||
Resolves the effective device-pixel-ratio for canvas backing stores at the
|
||||
given zoom, honoring [viewportRuntimeConfig.CANVAS\_DPR\_CAP\_BY\_ZOOM](../variables/viewportRuntimeConfig.md#canvas_dpr_cap_by_zoom).
|
||||
@@ -19,7 +19,7 @@ Returns the raw `window.devicePixelRatio` when no cap applies.
|
||||
|
||||
`number`
|
||||
|
||||
### rawDpr
|
||||
### rawDpr?
|
||||
|
||||
`number` = `window.devicePixelRatio`
|
||||
|
||||
|
||||
@@ -25,18 +25,4 @@ Updating local property will also trigger the `elementUpdated` slot of the surfa
|
||||
|
||||
## Returns
|
||||
|
||||
> (`_target`, `context`): `ClassAccessorDecoratorResult`\<`T`, `V`\>
|
||||
|
||||
### Parameters
|
||||
|
||||
#### \_target
|
||||
|
||||
`ClassAccessorDecoratorTarget`\<`T`, `V`\>
|
||||
|
||||
#### context
|
||||
|
||||
`ClassAccessorDecoratorContext`
|
||||
|
||||
### Returns
|
||||
|
||||
`ClassAccessorDecoratorResult`\<`T`, `V`\>
|
||||
(`_target`, `context`) => `ClassAccessorDecoratorResult`\<`T`, `V`\>
|
||||
|
||||
@@ -36,18 +36,4 @@ re-observe the property automatically when the value is altered.
|
||||
|
||||
## Returns
|
||||
|
||||
> (`_`, `context`): `ClassAccessorDecoratorResult`\<`GfxPrimitiveElementModel`\<`BaseElementProps`\>, `V`\>
|
||||
|
||||
### Parameters
|
||||
|
||||
#### \_
|
||||
|
||||
`unknown`
|
||||
|
||||
#### context
|
||||
|
||||
`ClassAccessorDecoratorContext`
|
||||
|
||||
### Returns
|
||||
|
||||
`ClassAccessorDecoratorResult`\<`GfxPrimitiveElementModel`\<`BaseElementProps`\>, `V`\>
|
||||
(`_`, `context`) => `ClassAccessorDecoratorResult`\<`GfxPrimitiveElementModel`\<`BaseElementProps`\>, `V`\>
|
||||
|
||||
@@ -29,18 +29,4 @@ You can thinks of it as a decorator version of `elementUpdated` slot of the surf
|
||||
|
||||
## Returns
|
||||
|
||||
> (`_`, `context`): `ClassAccessorDecoratorResult`\<`GfxPrimitiveElementModel`\<`BaseElementProps`\>, `V`\>
|
||||
|
||||
### Parameters
|
||||
|
||||
#### \_
|
||||
|
||||
`unknown`
|
||||
|
||||
#### context
|
||||
|
||||
`ClassAccessorDecoratorContext`
|
||||
|
||||
### Returns
|
||||
|
||||
`ClassAccessorDecoratorResult`\<`GfxPrimitiveElementModel`\<`BaseElementProps`\>, `V`\>
|
||||
(`_`, `context`) => `ClassAccessorDecoratorResult`\<`GfxPrimitiveElementModel`\<`BaseElementProps`\>, `V`\>
|
||||
|
||||
Reference in New Issue
Block a user