https://code.visualstudio.com/api/references/contribution-points#contributes.terminal
If you use the following code snippet that is listed there, it runs into compiler errors:

I believe that this should be updated to use provideTerminalProfile instead of provideProfileOptions?