Add missing semicolon

Code edited:

interface SpecFunction {
    (spec?: Spec): void;
}