{
"StartDate":"2016-12-15T19:00:00-02:00",
"EndDate":"2016-12-15T19:30:00-02:00",
"Description":"Ir no médico",
"Status":"Pendente",
"Location":null,
"Private":false,
version: "2" | |
services: | |
# fix-postgresql-permissions: | |
# image: "bitnami/postgresql:latest" | |
# user: root | |
# command: chown -R 1001:1001 /bitnami | |
# volumes: | |
# - ./postgresql:/bitnami/postgresql | |
postgresql: |
// exporting * | |
declare module "a" { | |
const a: number | |
export = a | |
} | |
// exporting default | |
declare module "b" { | |
const a: number | |
export default a |
"scripts": { | |
"build:ts": "tsc", | |
"start": "node index.js", | |
"start:watch": "nodemon index.js", | |
"start:debug": "node --inspect index.js", | |
"start:debug:brk": "node --inspect-brk index.js", | |
"start:debug:ts": "node --inspect --require ts-node/register index.ts", | |
"start:debug:ts:brk": "node --inspect-brk --require ts-node/register index.ts" | |
} |
{ | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "attach", | |
"name": "Attach", | |
"port": 9229 | |
} | |
] | |
} |
{ | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch via NPM", | |
"runtimeExecutable": "npm", | |
"runtimeArgs": [ | |
"run-script", | |
"start:debug:ts" |
{ | |
"configurations": [ | |
{ | |
"name": "Current TS File", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/node_modules/.bin/ts-node", | |
"args": ["${relativeFile}"], | |
"protocol": "inspector" | |
} |
import * as React from "react"; | |
import * as ReduxForm from "redux-form"; | |
interface MarkdownEditorProps extends ReduxForm.WrappedFieldProps { | |
} | |
interface MarkdownEditorState { | |
} |
export horseman from ''node-horseman' // no ES2015 | |
// é equivalente a | |
module.exports = { horseman: require('node-horseman'); }; | |
// que é equivalente a | |
module.exports.horseman = require('node-horseman'); |