mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
280 B
TypeScript
13 lines
280 B
TypeScript
import { end, isTravis, pushEnd, pushStart, start } from "travis-fold";
|
|
|
|
const out: string[] = [];
|
|
pushStart(out, 'fold');
|
|
pushEnd(out, 'fold');
|
|
|
|
out.join('\n').trim(); // $ExpectType string
|
|
|
|
if (isTravis()) {
|
|
start("s"); // $ExpectType string
|
|
end("e"); // $ExpectType string
|
|
}
|