File: type_annotations.coffee

package info (click to toggle)
coffeescript 2.7.0%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,376 kB
  • sloc: makefile: 20; xml: 9; javascript: 5; sh: 1
file content (10 lines) | stat: -rw-r--r-- 131 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
# @flow

###::
type Obj = {
  num: number,
};
###

fn = (str ###: string ###, obj ###: Obj ###) ###: string ### ->
  str + obj.num