private function parseTsConstants($tsConstants)
    {
        if (is_array($tsConstants)) {
            $parsed = '';
            foreach ($tsConstants as $constant => $value) {
                $parsed .= $constant . ' = ' . $value . PHP_EOL;
            }
            return $parsed;
        }

        return $tsConstants;
    }