mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #31277 from dyladan/master
[dialogflow] Add optional type parameters to dialogflow.Context
This commit is contained in:
Vendored
+3
-3
@@ -785,10 +785,10 @@ export interface Agent {
|
||||
classificationThreshold?: number;
|
||||
}
|
||||
|
||||
export interface Context {
|
||||
name: string;
|
||||
export interface Context<N = string, T = any> {
|
||||
name: N;
|
||||
lifespanCount?: number;
|
||||
parameters?: any;
|
||||
parameters?: T;
|
||||
}
|
||||
|
||||
export interface EntityType {
|
||||
|
||||
Reference in New Issue
Block a user