import dotdir = require('dotdir-regex'); // $ExpectType RegExp dotdir();