Switch Pipeline types to extend NodeBase
This doesn't work because the `type` values are not compatible.
This commit is contained in:
parent
094ef31c01
commit
39e7ee6e65
@ -571,22 +571,22 @@ export type PipelineBody = NodeBase & {
|
|||||||
type: "PipelineBody",
|
type: "PipelineBody",
|
||||||
};
|
};
|
||||||
|
|
||||||
export type PipelineBareFunctionBody = PipelineBody & {
|
export type PipelineBareFunctionBody = NodeBase & {
|
||||||
type: "PipelineBareFunctionBody",
|
type: "PipelineBareFunctionBody",
|
||||||
callee: Expression,
|
callee: Expression,
|
||||||
};
|
};
|
||||||
|
|
||||||
export type PipelineBareConstructorBody = PipelineBody & {
|
export type PipelineBareConstructorBody = NodeBase & {
|
||||||
type: "PipelineBareConstructorBody",
|
type: "PipelineBareConstructorBody",
|
||||||
callee: Expression,
|
callee: Expression,
|
||||||
};
|
};
|
||||||
|
|
||||||
export type PipelineBareAwaitedFunctionBody = PipelineBody & {
|
export type PipelineBareAwaitedFunctionBody = NodeBase & {
|
||||||
type: "PipelineBareAwaitedFunctionBody",
|
type: "PipelineBareAwaitedFunctionBody",
|
||||||
callee: Expression,
|
callee: Expression,
|
||||||
};
|
};
|
||||||
|
|
||||||
export type PipelineTopicBody = PipelineBody & {
|
export type PipelineTopicBody = NodeBase & {
|
||||||
type: "PipelineTopicBody",
|
type: "PipelineTopicBody",
|
||||||
expression: Expression,
|
expression: Expression,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user