@nxtedition/lib 26.8.5 → 26.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -4,7 +4,8 @@ import type { DeepstreamClient } from '@nxtedition/deepstream.io-client-js'
|
|
|
4
4
|
import type { Logger } from '../../logger.js'
|
|
5
5
|
|
|
6
6
|
export interface MakeTemplateCompilerParams {
|
|
7
|
-
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8
|
+
ds?: DeepstreamClient<any, any>
|
|
8
9
|
proxify?: unknown
|
|
9
10
|
logger?: Logger
|
|
10
11
|
platform?: unknown
|
|
@@ -33,7 +34,7 @@ export interface TemplateCompiler {
|
|
|
33
34
|
isTemplate: (value: unknown) => value is Nxtpression
|
|
34
35
|
}
|
|
35
36
|
|
|
36
|
-
export type Nxtpression<ReturnValue =
|
|
37
|
+
export type Nxtpression<ReturnValue = unknown, Context extends object = object> =
|
|
37
38
|
| {
|
|
38
39
|
/**
|
|
39
40
|
* TS-HACK: this property doesn't really exist on the nxtpression string,
|