union.js 899 B

123456789101112131415161718192021222324252627
  1. interface RelayProps {
  2. articles: Array<{
  3. __id: string,
  4. } | null> | null | void | 1,
  5. }
  6. interface RelayProps {
  7. articles: Array<{
  8. __id: string,
  9. } | null> | null | void,
  10. }
  11. export function aPrettyLongFunction(aRatherLongParamName: string | null): string {}
  12. export function aPrettyLongFunctionA(aRatherLongParameterName: {} | null): string[] {}
  13. export function aPrettyLongFunctionB(aRatherLongParameterName: Function | null): string[] {}
  14. export interface MyInterface {}
  15. export function aPrettyLongFunctionC(aRatherLongParameterName: MyInterface | null): string[] {}
  16. export type MyType = MyInterface
  17. export function aPrettyLongFunctionD(aRatherLongParameterName: MyType | null): string[] {}
  18. export function aShortFn(aShortParmName: MyType | null): string[] {}
  19. export function aPrettyLongFunctionE(aRatherLongParameterName: Array<{
  20. __id: string,
  21. } | null> | null | void): string[] {}