Switch Pipeline types to extend NodeBase

This doesn't work because the `type` values are not compatible.
This commit is contained in:
James DiGioia 2018-07-22 18:55:12 -04:00
parent 094ef31c01
commit 39e7ee6e65

View File

@ -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,
}; };