This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Code from: | |
* https://github.com/expressjs/express/pull/2809 | |
* | |
* Target Express version: { "express": "^4.14.0 <5.0.0" } | |
* | |
* This monkey patch allows to return Promises from middleware and route handlers, rejections will be handled automaticaly. | |
* | |
* Please note: | |
* If you return something from `(...) -> void` callbacks - you shoot your own leg. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/kolodny/immutability-helper | |
/** Declaration extension point */ | |
declare namespace ImmutabilityHelper { | |
interface CustomOperators<T> { | |
/* $someShit?: T */ | |
/* $moreShit?: T */ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import (reference) "./referenced.less"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
monitor: | |
build: ./weave_monitor | |
image: custom/weave_monitor | |
network_mode: "none" | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
restart: always |