--!strict function _foo() end local function _bar() end export type Foo0 = { bar: ( a: T, b: nil | number | boolean ) -> T, } local _baz export type Foo1 = { bar: ( a: T, b: nil | number | boolean ) -> ((arg0: T) -> ())?, } _baz = function(a: T, b: number | boolean | nil): nil | T return nil end