pie showData title By Major Release
"17":6077758
"16":5672055
"18":4997284
"15":360262
"Other":160137
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
type Events = { | |
hook_1: string[]; | |
hook_2: number; | |
}; | |
const { addFilter, applyFilters } = new Filter<Events>(); | |
addFilter('hook_1', callback) | |
// ^ autocomplete on event names | |
// ^ static analysis on callback functions based on the specific event |
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
<?php | |
namespace Tests; | |
use Illuminate\Foundation\Testing\Traits\CanConfigureMigrationCommands; | |
/** | |
* Refreshes the database once. | |
* | |
* This is inspired by a post of Stefan Dreßler at medium.com |